Bienvenido a la comunidad de Pandora FMS › Forums › Community support › How to establish properly the ssh communications between Pan
-
How to establish properly the ssh communications between Pan
Posted by javicorona on mayo 23, 2006 at 14:48Hi,
I’m installing the 1.2 version of Pandora. Once I’ve installed properly the components of the Pandora Server, I try to run one agent resident in the Pandora Server (meta-agent I think is called).
I got the following problem:
__________________________________________________________________________________________
[root@localhost pandora_Agent_NEOTERIS]# ./pandora_agent_daemon start
Pandora Agent is now running with PID 13536
[root@localhost pandora_Agent_NEOTERIS]# The authenticity of host ‘192.168.2.167 (192.168.2.167)’ can’t be established.
RSA key fingerprint is f9:42:21:b4:45:c6:2a:03:00:0a:4c:12:02:2c:f7:e5.
Are you sure you want to continue connecting (yes/no)?
Host key verification failed.
lost connection
_________________________________________________________________________________________My problem is I don’t know how to use the ssh-keygen command, to stablish properly the ssh communications between server and agent. Could you help me or give me some documentation explaining how to use the ssh-keygen to set up properly the ssh communications between server and agents?
Thank you in advanced.raul replied 18 years, 5 months ago 3 Members · 3 Replies -
3 Replies
-
::
These question is the “manual” authentication for hostkey. You need to set the first connection manually. If youre going to exec pandora agent under ROOT user, you need to execute:
ssh pandora@pandora_server_hostname
It will ask you:
The authenticity of host ‘192.168.2.167 (192.168.2.167)’ can’t be established.
RSA key fingerprint is f9:42:21:b4:45:c6:2a:03:00:0a:4c:12:02:2c:f7:e5.
Are you sure you want to continue connecting (yes/no)?You answer YES manually to this question: This is for validate authenticity of the other side. If you have copied the public key to /home/pandora/.ssh/authorized_keys correctly you must logon automaticaly…. the next step is to run pandora agent.
-
::
I’m really sorry, but I haven’t any experience in this issue. You said:
“You answer YES manually to this question: This is for validate authenticity of the other side. If you have copied the public key to /home/pandora/.ssh/authorized_keys correctly you must logon automaticaly…. the next step is to run pandora agent. ”
I don’t have the directory .ssh created in /home/pandora and I don’t know how to create the file authorized_keys. I don’t know how to create the public key neither. Could you tell me how I do this.
Thank you very much.
-
::
Take a look at these howto about SSH:
http://www.arches.uga.edu/~pkeck/ssh/
http://nlpfarm.sourceforge.net/sshhowto.html