Setting up SSH monitoring for HP-UX machines
Posted: Wed Dec 08, 2021 11:27 am
Hi Team,
We have to setup the SSH based monitoring for HP-UX servers, while I try to just do a normal SSH its returning me below error:
[root@uswesrha03 ~]# ssh [email protected]
Connection closed by 10.87.94.25 port 22
When I do a normal putty session to this HP-UX with nagios user it works but the SSH from Nagios Server wont work. What can be the issue here.
We collected the debug data (ssh –vvv), the connection fails at the same point:
debug1: kex: algorithm: ecdh-sha2-nistp256
debug1: kex: host key algorithm: ecdsa-sha2-nistp256
debug1: kex: server->client cipher: [email protected] MAC: <implicit> compression: none
debug1: kex: client->server cipher: [email protected] MAC: <implicit> compression: none
debug1: kex: ecdh-sha2-nistp256 need=32 dh_need=32
debug1: kex: ecdh-sha2-nistp256 need=32 dh_need=32
debug3: send packet: type 30
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
Connection closed by 10.87.94.24 port 22
Nagios Server OS - RHEL 8
We have to setup the SSH based monitoring for HP-UX servers, while I try to just do a normal SSH its returning me below error:
[root@uswesrha03 ~]# ssh [email protected]
Connection closed by 10.87.94.25 port 22
When I do a normal putty session to this HP-UX with nagios user it works but the SSH from Nagios Server wont work. What can be the issue here.
We collected the debug data (ssh –vvv), the connection fails at the same point:
debug1: kex: algorithm: ecdh-sha2-nistp256
debug1: kex: host key algorithm: ecdsa-sha2-nistp256
debug1: kex: server->client cipher: [email protected] MAC: <implicit> compression: none
debug1: kex: client->server cipher: [email protected] MAC: <implicit> compression: none
debug1: kex: ecdh-sha2-nistp256 need=32 dh_need=32
debug1: kex: ecdh-sha2-nistp256 need=32 dh_need=32
debug3: send packet: type 30
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
Connection closed by 10.87.94.24 port 22
Nagios Server OS - RHEL 8