[Bug 2110] New: ssh-copy-id fails on nonexisting private key
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Fri May 31 20:56:09 EST 2013
https://bugzilla.mindrot.org/show_bug.cgi?id=2110
Bug ID: 2110
Summary: ssh-copy-id fails on nonexisting private key
Product: Portable OpenSSH
Version: 6.2p1
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Miscellaneous
Assignee: unassigned-bugs at mindrot.org
Reporter: plautrba at redhat.com
ssh-copy-id fails when a private key file (without .pub suffix) is not
present in the same directory as the public key file.
# ls ~/.ssh/id_rsa*
/root/.ssh/id_rsa /root/.ssh/id_rsa.pub
# cp -vf ~/.ssh/id_rsa.pub /tmp/.
‘/root/.ssh/id_rsa.pub’ -> ‘/tmp/./id_rsa.pub’
# ssh-copy-id -i /tmp/id_rsa.pub root at localhost
/usr/bin/ssh-copy-id: ERROR: failed to open ID file '/tmp/id_rsa': No
such file or directory
There's no switch that would disable checking for the private key file.
There's no keypair verification done, simply creating an empty
/tmp/id_rsa file makes ssh-copy-id work again.
--
You are receiving this mail because:
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list