https://bugzilla.mindrot.org/show_bug.cgi?id=2331
--- Comment #2 from Thomas Waldmann <[email protected]> --- 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@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@localhost's password: Number of key(s) added: 1 Now try logging into the machine, with: "ssh 'bugtest@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@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. _______________________________________________ openssh-bugs mailing list [email protected] https://lists.mindrot.org/mailman/listinfo/openssh-bugs
