i want to use check_by_ssh to monitor some services in a unix machine.
i have as an error message : permission denied.
this is due certainely to the fact that i don't have permission to log to the remote server as a passwd is needed.
but the problem is that even if i have generated the key by ssh-keygen it does not work.
i did exactly what it should be done to generate that key both in the nagios machine and in the remote host where it is placed in /home/nagios/.ssh/authorized_keys2. And i gave an empty passphrase.
but each time that i want to log with : ssh 188.8.131.52 -i /home/nagios/.ssh/id_dsa.pub, i'm asked to enter the password!!
i had also change the following options in /etc/ssh/sshd_config:
are there some more options to change in that file?
thanks a lot!