Page 2 of 2

Re: Help with Nagios and NRPE Event Handlers

Posted: Wed Apr 23, 2014 2:37 pm
by sreinhardt
If you need to login, check_by_ssh would be the easiest way with sshkeys to get it to authenticate. Otherwise you can use standard ssh in a script and pass it the password. It's definitely possible, but not suggested to script ssh with passwords, and it doesn't work all that great for scripting unless you just use it to execute your script above.