Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Agent problem
#1
When I Enter
/opt/pandora_agent/pandora_agent_daemon start

it show
pandora Agent is now running with PID 18592
[[email protected] root]# Password:

I have not set password for the server or agent show what is the password from?
 Reply
#2
Quote:When I Enter
/opt/pandora_agent/pandora_agent_daemon start

it show
pandora Agent is now running with PID 18592
[[email protected] root]# Password:

I have not set password for the server or agent show what is the password from?

Have you created the openssh keys WITHOUT password to connect Agent and Server?
 Reply
#3
Quote:
timtimhk Wrote:When I Enter
/opt/pandora_agent/pandora_agent_daemon start

it show
pandora Agent is now running with PID 18592
[[email protected] root]# Password:

I have not set password for the server or agent show what is the password from?

Have you created the openssh keys WITHOUT password to connect Agent and Server?
yes, i enter ssh-keygen
then it display enter passphase,i press enter too,i have not enter password
 Reply
#4
You have to copy your public key into the pandora's server home authorhized_keys file, which is in .ssh/

If not, you won't be able to connect without password.
 Reply
#5
Quote:You have to copy your public key into the pandora's server home authorhized_keys file, which is in .ssh/

If not, you won't be able to connect without password.
how to make a authorhized_key?i use ssh-keygen ,but it cant make..
 Reply
#6
Quote:
manu Wrote:You have to copy your public key into the pandora's server home authorhized_keys file, which is in .ssh/

If not, you won't be able to connect without password.
how to make a authorhized_key?i use ssh-keygen ,but it cant make..

This is an example to generate the keys and copy them to the /home/pandora/.ssh/authorized_keys directory:
[code:1]
[email protected]:~$ ssh-keygen -t dsa
Generating public/private dsa key pair.
Enter file in which to save the key (/home/pandora/.ssh/id_dsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/pandora/.ssh/id_dsa.
Your public key has been saved in /home/pandora/.ssh/id_dsa.pub.
The key fingerprint is:
68:c3:6f:18:bb:c6:c5:f2:9a:d1:66:ce:42:f0:3f:f1 [email protected]

[email protected]:~$
[/code]

The agent have to use this key to comunicate to the server.

As shown in the pandora_installation guide, http://pandora.sourceforge.net/docs/pandora_en.pdf (chapter 2, pag 26):

Quote:To generate the keys the command ssh-keygen is executed followed by the specific parameters for our
operating system. Please, create key WITHOUT password.
The public key must be copied into the /home/pandora/.ssh/authorized_keys file in the Pandora
server.

Before starting the Pandora agent the SSH authentication must be checked.

To do this the
following command must be executed on the agent machine:
$ ssh [email protected]_server
The system must connect successfully BEFORE launching the Pandora agent.

Raul
 Reply
#7
Quote:
timtimhk Wrote:
manu Wrote:You have to copy your public key into the pandora's server home authorhized_keys file, which is in .ssh/

If not, you won't be able to connect without password.
how to make a authorhized_key?i use ssh-keygen ,but it cant make..

This is an example to generate the keys and copy them to the /home/pandora/.ssh/authorized_keys directory:
Code:
[email protected]:~$ ssh-keygen -t dsa
Generating public/private dsa key pair.
Enter file in which to save the key (/home/pandora/.ssh/id_dsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/pandora/.ssh/id_dsa.
Your public key has been saved in /home/pandora/.ssh/id_dsa.pub.
The key fingerprint is:
68:c3:6f:18:bb:c6:c5:f2:9a:d1:66:ce:42:f0:3f:f1 [email protected]

[email protected]:~$

The agent have to use this key to comunicate to the server.

As shown in the pandora_installation guide, http://pandora.sourceforge.net/docs/pandora_en.pdf (chapter 2, pag 26):

Quote:To generate the keys the command ssh-keygen is executed followed by the specific parameters for our
operating system. Please, create key WITHOUT password.
The public key must be copied into the /home/pandora/.ssh/authorized_keys file in the Pandora
server.

Before starting the Pandora agent the SSH authentication must be checked.

To do this the
following command must be executed on the agent machine:
$ ssh [email protected]_server
The system must connect successfully BEFORE launching the Pandora agent.

Raul
but how to generate authorized_keys file?
 Reply
#8
You should have it on your /home/user/.ssh/

If not just generate it with touch and make sure it has 600 perms and belongs to the user which home are you going to place the file in.

Then just copy the content of the id_dsa.pub into the authorized file
 Reply
#9
[code:1][email protected]:~$ touch .ssh/authorized_keys
[email protected]:~$ chmod 600 .ssh/authorized_keys[/code]
 Reply


Users browsing this thread: 1 Guest(s)


(c) 2006-2018 Artica Soluciones Tecnol├│gicas. Contents of this wiki are under Create Common Attribution v3 licence. | pandorafms.com | pandorafms.org

Theme © MyBB Themes