Hey,
we updated nagios and installed a complete new instance, created ssh keys and users and added hosts/services etc.
Now when I try to connect via winscp to add more plugins I get the typical network error: "server unexpectedly closed network connection"
That usually indicated and issue in the ssh cfg I think, but I compared it with the older version 3.1.1 and the now running 3.5.1.
Any way I can correct this?
Thanks a lot
Best
Martin
winscp connection error after new nagios install
-
- Posts: 25
- Joined: Mon Aug 21, 2017 4:53 pm
Re: winscp connection error after new nagios install
I'm assuming both the 3.1.1 and 3.5.1 version of Nagios Core were installed via OS specific packages?
Is the ownership of the underlying folders different between those two versions? That'd be my first guess.
Is the ownership of the underlying folders different between those two versions? That'd be my first guess.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: winscp connection error after new nagios install
I would also check the/var/log/messages and /var/log/secure while you try to make the connection:
tail -f /var/log/messages
tail -f /var/log/secure
tail -f /var/log/messages
tail -f /var/log/secure
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
- Posts: 25
- Joined: Mon Aug 21, 2017 4:53 pm
Re: winscp connection error after new nagios install
Thanks a lot
I am getting:
sshd error: could not load host key: /etc/ssh/sshd_rsa_key and dsa_key
Do I need to recreate the ssh keys?
Thanks
Best
Martin
I am getting:
sshd error: could not load host key: /etc/ssh/sshd_rsa_key and dsa_key
Do I need to recreate the ssh keys?
Thanks
Best
Martin
-
- Posts: 25
- Joined: Mon Aug 21, 2017 4:53 pm
Re: winscp connection error after new nagios install
I think, I got it.
I re-generated ssh keys and a new ssl cert, now I can shh into the box again
thanks
I re-generated ssh keys and a new ssl cert, now I can shh into the box again
thanks
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: winscp connection error after new nagios install
Glad it's resolved, closing