On 07.02.18 09:44, Vikee Kumar wrote:
I am able to successfully authenticate over ssh.
But obviously you don't get a shell with that account:
Output root@mgmt-vikee:~# ssh -i /var/lib/nagios/.ssh/id_rsa nagios@192.168.1.111 -v OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014 debug1: Reading configuration data /etc/ssh/ssh_config
...
debug1: Authentication succeeded (publickey). Authenticated to 192.168.1.111 ([192.168.1.111]:22). debug1: channel 0: new [client-session] debug1: Requesting no-more-sessi...@openssh.com debug1: Entering interactive session. debug1: Sending environment. debug1: Sending env LANG = en_US.UTF-8 Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 4.4.11-grseconprem x86_64)
...
Your Hardware Enablement Stack (HWE) is supported until April 2019. Last login: Tue Feb 6 19:13:07 2018 from 192.168.1.110 debug1: client_input_channel_req: channel 0 rtype exit-status reply 0 debug1: client_input_channel_req: channel 0 rtype e...@openssh.com reply 0 debug1: channel 0: free: client-session, nchannels 1 Connection to 192.168.1.111 closed. Transferred: sent 3676, received 3080 bytes, in 0.3 seconds Bytes per second: sent 14179.6, received 11880.7 debug1: Exit status 1
The connection is immediately closed again... -Gerald _______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users