From time to time on centos 6 sssd I got login problems like 'connection closed by *.*.*.*.', after a while then I login in again and the problem already disappeared.
For the ssh login problem, I can see the following entries in /var/log/secure. 'Failed public key for ....' is the entry for the login problem. Any one has some ideas why this happens?
Mar 12 04:30:12 master01 sshd[25185]: Set /proc/self/oom_score_adj to 0 Mar 12 04:30:12 master01 sshd[25185]: Connection from 192.168.1.80 port 48718 Mar 12 04:30:18 master01 sshd[25185]: Found matching RSA key: 55:52:5e:6c:fe:74:ab:cd:ef:94:96:f4:f7:44:fb:fc Mar 12 04:30:18 master01 sshd[25186]: Postponed publickey for gotcha from 192.168.1.80 port 48718 ssh2 Mar 12 04:30:18 master01 sshd[25185]: Found matching RSA key: 55:52:5e:6c:fe:74:ab:cd:ef:94:96:f4:f7:44:fb:fc Mar 12 04:31:51 master01 sshd[25185]: Failed publickey for gotcha from 192.168.1.80 port 48718 ssh2 Mar 12 04:31:51 master01 sshd[25186]: fatal: Access denied for user gotcha by PAM account configuration
Thanks.
--Gelen