[Bug 2269] New: ssh-copy-id: does not respect .ssh/config

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Mon Sep 1 00:03:18 EST 2014


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: unassigned-bugs at mindrot.org
          Reporter: toralf.foerster at gmx.de

This is my config (stable 32 bit Gentoo Linux) :

tfoerste at 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 at 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.


More information about the openssh-bugs mailing list