Cannot SSH anymore, what went wrong?
- by lbwtz2
I use to ssh to a remote server (no rsa-key, just password).
Now the server do not accept the connection any more and throw me this error:
ssh_exchange_identification: Connection closed by remote host
While I can google a little to find a fix I can't figure out what went wrong since I haven't touched anything on the machine since last login.
Can you help me find the cause?
EDIT: Inspecting the logs I've found these:
/var/auth.log
/var/log/auth.log:Dec 26 16:40:32 vps sshd[15567]: error: fork: Cannot allocate memory
/var/log/auth.log:Dec 26 16:41:05 vps sshd[15567]: error: fork: Cannot allocate memory
/var/log/auth.log:Dec 26 16:43:47 vps sshd[15567]: error: fork: Cannot allocate memory
/var/log/auth.log:Dec 27 03:20:06 vps sshd[15567]: error: fork: Cannot allocate memory
/var/log/auth.log:Dec 27 16:15:02 vps sshd[15567]: error: fork: Cannot allocate memory
And in the same span-time I've also found a lot of these:
/var/log/auth.log:Dec 26 13:00:01 vps CRON[1716]: PAM unable to dlopen(/lib/security/pam_unix.so): libcrypt.so.1: cannot map zero-fill pages: Cannot allocate memory
/var/log/auth.log:Dec 26 13:00:01 vps CRON[1716]: PAM adding faulty module: /lib/security/pam_unix.so
What are these?