16. Using ssh-agent with OpenSSH

5. Now burly is ready to accept your ssh key. How to tell it which keys to use? The ssh-add command will do it. For a test, type ssh-agent sh -c 'ssh-add < /dev/null && bash' This will start the ssh-agent, add your default identity(prompting you for your passphrase), and spawn a bash shell. From this new shell you should be able to:

Finally, set up the SSH agent, so that you don't even have to type in your key-related pass-phrase. At the local prompt:

  local> eval `ssh-agent`
  Agent pid 20774
  local> ssh-add 
Then you should be able to login in to the remote machine without typing any pass anthing (until such time as this instance of the agent ceases running, e.g., on logout).

...previouscont's...



About this document:

Produced from the SGML: /home/mc/public_html/_ssh/_reml_grp/ssh.reml
On: 4/4/2006 at 17:51:25
Options: reml2 -i noindex -l long -o html -p multiple