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 ?
I've faced with the same issue. Am I doing something wrong or ssh-copy-id really doesn't look into .ssh/config? For me it seems inconvenient, but I guess there should be some reason for that... would be interesting to know. Thanks!
well - it is a bug IMO or ?
Set all RESOLVED bugs to CLOSED with release of OpenSSH 7.1