[Bug 2331] ssh-copy-id -i id_new.pub fails to copy that id, also: wrong error msg
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Mon Jan 12 23:51:37 EST 2015
https://bugzilla.mindrot.org/show_bug.cgi?id=2331
--- Comment #2 from Thomas Waldmann <twaldmann at thinkmo.de> ---
I just reproduced it:
sudo adduser bugtest
sudo vim /etc/ssh/sshd_config # enable ssh password login
sudo service ssh restart
ssh-copy-id -i .ssh/tw_rsa_2008.pub bugtest at localhost
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s),
to filter out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you
are prompted now it is to install the new keys
bugtest at localhost's password:
Number of key(s) added: 1
Now try logging into the machine, with: "ssh 'bugtest at localhost'"
and check to make sure that only the key(s) you wanted were added.
sudo vim /etc/ssh/sshd_config # disable ssh password login
sudo service ssh restart
ssh-copy-id -i .ssh/tw_rsa4096_2015.pub bugtest at localhost
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s),
to filter out any that are already installed
/usr/bin/ssh-copy-id: WARNING: All keys were skipped because they
already exist on the remote system.
--
You are receiving this mail because:
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list