Welcome to Pandora FMS Community › Forums › Community support › SSH agent does not comunicate with server on FreeBSD
-
SSH agent does not comunicate with server on FreeBSD
Posted by Anonymous on July 7, 2006 at 12:33Hi,
I have a problem with the ssh_agent, it does not work.
I installed the pandora_server and it works. then in another host i installed pandora_agent.
I create a user ‘pandora’ on the host where is the pandora agent. then i create the ssh keys (public and private). The public i have conserved on the home dir of the users “/home/pandora/.ssh/authorised_keys” and the privat i have put at the server side. Is it right???then for the first time i make a comunicatio from server to agent with ssh ?? then i start the pandora_agent
I am doing right?
but it does not work.Where is the problem. The ssh is configured correctly because I make the connectio whith the server and viceversa
hepl …..
raul replied 18 years, 4 months ago 2 Members · 3 Replies -
3 Replies
-
::
I create a user ‘pandora’ on the host where is the pandora agent. then i create the ssh keys (public and private).
Oops, there’is the problem, you need to create “pandora” user in the server, not in the agent. You need to generate the sshkeys in the agent for the user you will run, and copy to “pandora” user in the server.
if you could make:
ssh pandora@pandora_server
And you have a successful login in pandora_server from the agent host running the same user that agent will run, pandora_agent must be run fine.
Where is the problem. The ssh is configured correctly because I make the connectio whith the server and viceversa
Communication is only from pandora_agent -> pandora_server. You need to check
a) Existence of “pandora” user in pandora server, permissions, home directory, authorized_keys file containing pubkeys from remote user from pandora_agent.
b) Create the pubkeys in pandora_agent for the user you will run pandora_agent with.
c) Create the first ssh conection to validate ssh host key, running manually ssh pandora@pandora_server command and validate the host key.
d) Launch pandora agent 🙂I hope this helps.
-
Anonymous
GuestJuly 7, 2006 at 16:53::a) Existence of “pandora” user in pandora server, permissions, home directory, authorized_keys file containing pubkeys from remote user from pandora_agent.
I have the pandora users on the server and i have the authorized_keys (the pubkey of the user on the pandora agent)
b) Create the pubkeys in pandora_agent for the user you will run pandora_agent with.
I think that i do not need the pub keys under the pandora agent but I need the private key right ???
c) Create the first ssh conection to validate ssh host key, running manually ssh pandora@pandora_server command and validate the host key.
I did it ad i make the connection.
d) Launch pandora agent 🙂
I did it to and it’s running.
BUT IT DOESN’T WORK 🙁
-