Displaying 1 result from an estimated 1 matches for "6504489a".
Did you mean:
6.044898
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