For some reason sshd
is reading from my authorized_keys
file a new line that does not exist. I generated the keys with puttygen
, copied the public key text in as required, concatenated the key into one long string starting with ssh-rsa
and according to Vi and nano, there are no extra lines.
However, from my secure log, every time I try to use this it's a problem. I get the trying to get more bytes than in buffer error
as well as error: key_from_blob: can't read rsa key
then the rest of the error which shows the \n
after the key comment. It will also do \n
even if I remove the comment.
Any ideas what is the problem?