So you need to fix this. I would guess you have no correct shell set for
the nagios account or you have configured something else to block ssh
shell access to your nagios account. -Gerald
On 07.02.18 09:53, Vikee Kumar wrote:
Gerald,
Yes, you are right connection disconnect immediately.
Auth.log on remote machine 192.168.1.111
Feb 6 18:28:57 ob-vikee sshd[10931]: Accepted publickey for nagios from
192.168.1.110 port 50496 ssh2: RSA
68:24:0a:9f:55:7c:3d:b1:29:92:6a:d7:b7:5d:bd:d1
Feb 6 18:28:57 ob-vikee sshd[10931]: pam_unix(sshd:session): session opened
for user nagios by (uid=0)
Feb 6 18:28:57 ob-vikee systemd-logind[459]: Removed session 25.
Feb 6 18:28:57 ob-vikee systemd-logind[459]: New session 26 of user nagios.
Feb 6 18:28:57 ob-vikee sshd[11001]: Received disconnect from 192.168.1.110:
11: disconnected by user
Feb 6 18:28:57 ob-vikee sshd[10931]: pam_unix(sshd:session): session closed
for user nagios
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users