Displaying 2 results from an estimated 2 matches for "cfe075f2".
2016 Mar 19
3
ssh-copy-id no newline bug
When editing ~/.ssh/authorized_keys manually, sometimes users forget
to add a newline at the end of the file, causing the next ssh-copy-id
call to append a new key to an existing key, invalidating both keys.
This can be fixed by simply adding a newline before appending the key.
Something like this change to
openssh-source/openssh-6.7p1/contrib/ssh-copy-id might work:
# Assuming that the remote
2016 Mar 20
3
ssh-copy-id no newline bug
......
--
Alex Bligh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20160320/cfe075f2/attachment.bin>