configuring ssh-agent to automate passphrase for the key

From: Javed (kjaved_at_ncs.com.sg)
Date: 12/27/04


Date: 26 Dec 2004 18:35:24 -0800

Hi,

We are using OpenSSH to secure our Oracle connection. On the client
system we have generated the id_dsa and appended the public key for the
same to the authorized_key file on the remote systems $HOME/.ssh
directory.

during iniating the connection we are prompted for the passphrase of
the key. The passphrase is a must for our requirement. The connection
is established once the corrcet passphrase is entered.
Our requirement is to automate the entry of passphrase, means there
shouldn't be any human intervention.

I went through some suggestions on net, which suggest to use ss-agent
and ssh-add and configure some environment variables. As I am new to
this technology,can any one please guide me with step-by-step
instructions to configure ssh-agent and the others to achive my goal.We
are NOT using any xsession.

Regards,
Javed



Relevant Pages

  • Re: failed password for "root" in logs
    ... create private/public key pair for your client and remote ... Remember public key goes to server and private key stays with ... Enter passphrase: ... Your public key has been saved in /home/dialin/.ssh/id_rsa.pub. ...
    (comp.os.linux.networking)
  • Re: openssh and public keys connection
    ... >> connection if the client already has the server's public key and ... "reject" made me think he wanted the server to reject the connection; ... If actually he wants the *client* to require ... server authentication by an established key, then yes of course this is ...
    (comp.security.ssh)
  • Re: Passwordless ssh, problems with passphrase on the server side.
    ... > computers, A, the server and B the client, both of which run Linux. ... > passphrase, and when I enter the passphrase which I used in step ... and it can't be added to an agent. ... I'm not sure why you're trying to manage a public key this way... ...
    (comp.security.ssh)
  • Re: openssh and public keys connection
    ... >is it possible to configure openssh so that it only allows connection ... >if the client already has the server's public key and rejects ... Good judgement comes with experience. ...
    (comp.security.ssh)
  • Re: Main Reason for Using PKA?
    ... and also has to know your passphrase. ... message encrypted with its private key. ... using the remote machine's public key. ... using a key negotiated in the connection sequence. ...
    (comp.sys.mac.system)