WG: check_by_ssh - Usage

Andreas Ericsson ae at op5.se
Fri Aug 26 11:07:12 CEST 2005


Tom Brown wrote:
> 
>> check_by_ssh --help
>>
>> be sure, you have installed a public key in .ssh/authorized_keys before
>>
>>  
>>
> thanks but that does not really seem to help me on how to use it - does 
> anyone have any 'how-tos's around
> 

man ssh
man sshd
man ssh-keygen

Run ssh-keygen with whatever options you want. Keep the secret key on 
the nagios server and put the public one in the file 
$HOME/.ssh/authorized_keys on the server you want to check. If things 
fail, check the logs for error messages. It's most likely down to 
permissions. They need to be 0600 on the authorized_keys file and 0700 
on $HOME/.ssh.

If you want more indepth explanations, turn to man-pages, the docs 
shipped with openssh, google or, in extreme cases, a paid consultant 
(although I've never yet heard of anyone daft enough not to grasp the 
concept after reading enough docs).

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list