using ssh without password

Arno Lehmann al at its-lehmann.de
Tue Mar 8 12:35:47 CET 2005


You should check the system-wide ssh and sshd configurations.
If you are not the administrator of the server you want to log into, ask 
them how to setup ssh to work without passphrase.
Verify that the file names for authorized keys are correct.
You should run ssh with the -v switch, then it tells you what it does, 
including which keys it uses and what the server thinks about those.
You should have a look at the server's logfile.
You can also run the server with debug output.

Arno

vivek sharma sharma wrote:
> Hi all,
>       I am trying make ssh work without password so as to use push_ssh 
> in nagios .for this
> 
> I have done the following things:
> 1.)On nagios host :
> ssh-keygen -t rsa
> 
> no passphrase entered
> 
> 2.)created a .ssh dir. in the client host with 600 permissions
>   In this host created file by vi editor
>     vi authorizedkeys2
> and pasted the contents of id_rsa.pub file from nagios host
> 
> 3.)then if i try to do ssh from nagios host to the client host still it 
> asks for a password.
> 
> Dont know whats wrong now..
> Plz suggest
> 
> Thanks
> Vivek
> 
> 
> 
> 
> <http://clients.rediff.com/signature/track_sig.asp>

-- 
IT-Service Lehmann                    al at its-lehmann.de
Arno Lehmann                  http://www.its-lehmann.de


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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