You try to ssh to a server and the connection is immediately closed.
In the logs you see this strange and cryptic error:
In the logs you see this strange and cryptic error:
Oct 29 10:24:24 sbweb03 sshd[30714]: error: buffer_get_ret: trying to get more bytes 4 than in buffer 0
Oct 29 10:24:24 sbweb03 sshd[30714]: fatal: buffer_get_int: buffer error
It turns out the file(s) .ssh/authorized_keys or .ssh/authorized_keys2 are improperly formatted, in particular look for a line break after ssh-rsa or ssh-dsa.