ssh_exchange_identification: Connection closed by remote host

Written on 4:28 AM by David S Anand

ssh_exchange_identification: Connection closed by remote host
even if the key is correct

Login via console or try login multiple times

Then check the permission of /var/log/btmp
it must be 600
chmod 600 /var/log/btmp

now
ll /var/log/btmp
-rw------- 1 root utmp 73026817 Jan 11 11:13 btmp

Try login now issue fixed

If you enjoyed this post Subscribe to our feed

No Comment

Post a Comment