First of all normally Opsview will be running as a user other than root, most likely user "nagios". So you should be trying to do something like this: r...@opsview-demo:~# ssh [email protected]<mailto:[email protected]> uname -a
You will need to know the nagios user password to copy. User nagios will also need a ssh key generated Here is a good link describing setup of certificated based ssh: http://www.debian-administration.org/articles/152 Basically you Create the key nag...@opsview-demo:~# ssh-keygen -t rsa Copy the key nag...@opsview-demo:~# ssh-copy-id -i ~/.ssh/id_rsa.pub [email protected]<mailto:[email protected]> Then you should be able to run commands without a password as user nagios: nag...@opsview-demo:~# ssh 131.125.78.45<mailto:[email protected]> ls -la Hope this helps. James Whittington VC3, Inc. From: [email protected] [mailto:[email protected]] On Behalf Of Jibran Sent: Thursday, February 18, 2010 7:54 AM To: [email protected] Subject: [opsview-users] Slave setup errors. Hi every one. I been trying from long to make slave work.I installed Ubunto hardy as a master and ubunto hardy as slave opsview on remote.I installed opsview repository and every thing went fine.But I am having permission errors doing ssh from master to slave. When I ssh fro master using r...@opsview-demo:~# ssh 131.125.78.45 ls -l [email protected]'s<mailto:[email protected]'s> password:when I put the password which is for opsview.i get error. Permission denied, please try again. I cant copy keys and files from master to slave either. scp /usr/local/nagios/installer/check_reqs > /usr/local/nagios/bin/profile 131.125.78.45: > > scp: ./check_reqs: Permission denied > > scp: ./profile: Permission denied I presume permission problem is related to ssh config or something.Actually I am not expert with linux if some one could help me out fixing this problem I bumped my head too much fixing this problem but all vain.. Thanks for any reponses.
_______________________________________________ Opsview-users mailing list [email protected] http://lists.opsview.org/lists/listinfo/opsview-users
