https://bugzilla.mindrot.org/show_bug.cgi?id=2269
Bug ID: 2269
Summary: ssh-copy-id: does not respect .ssh/config
Product: Portable OpenSSH
Version: 6.6p1
Hardware: Other
OS: Linux
Status: NEW
Severity: enhancement
Priority: P5
Component: ssh-copy-id
Assignee: [email protected]
Reporter: [email protected]
This is my config (stable 32 bit Gentoo Linux) :
tfoerste@n22 ~ $ cat .ssh/config
Host n22kvm
IdentityFile=/home/tfoerste/.ssh/id_rsa-kvm
Host n22stab4
IdentityFile=/home/tfoerste/.ssh/id_rsa-uml
I#d expect, that ssh-copy-id would not transfer id-rs.pub to n22kvm
when I run, but in fact I have to expliciteöy specify the public key
otherweise ssh-key-based login to n22kvm won't work.
$> ssh-copy-id -i ~/.ssh/id_rsa-kvm.pub root@n22kvm
Because ssh itself respects the config values I'm wondering if this is
a bug or a feature ?
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs