Cisco check_by_ssh ?

Petrucci, Joseph Joseph.Petrucci at ddiworld.com
Tue Sep 27 21:35:16 CEST 2005


I used this as a base for how to do this.

  ssh implements the RSA authentication protocol automatically.  The user
     creates his/her RSA key pair by running ssh-keygen(1).  This stores the
     private key in $HOME/.ssh/identity and the public key in
     $HOME/.ssh/identity.pub in the userâs home directory.  The user should
     then copy the identity.pub to $HOME/.ssh/authorized_keys in his/her home
     directory on the remote machine (the authorized_keys file corresponds to
     the conventional $HOME/.rhosts file, and has one key per line, though the
     lines can be very long).  After this, the user can log in without giving
     the password.  RSA authentication is much more secure than rhosts authen-
     tication.

>-----Original Message-----
>From: nagios-users-admin at lists.sourceforge.net
>[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Greg King
>Sent: Tuesday, September 27, 2005 2:31 PM
>To: nagios-users at lists.sourceforge.net
>Subject: [Nagios-users] Cisco check_by_ssh ?
>
>
>Has anyone figured out how to log into a Cisco router with ssh 
>and run a command using the check_by_ssh plugin?  The 
>documentation says to setup a secure connection with gpg keys, 
>but since I'm not a Cisco expert, I'm not sure this is even 
>possible if the ssh target is a Cisco router.  Links to how to 
>do this would be greatly appreciated.
>
>Regards,
>Greg King
>
>



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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