Tuesday, October 10, 2006

Using ssh-agent for passphraseless logins

If you are on a office network and use Linux and those machines are networked through ssh public/private keys, you may want to consider using ssh-agent

You will have to ...

1. Run ssh-agent
2. Add your private key. "ssh-add .ssh/id_rsa" (in your home dir) -
Enter your passphrase
3. Verify whether your key was added successfully - "ssh-add -l"
4. You are ready to go!

Try it out - ssh to any machine on your network and enjoy the passphraseless logins!

No comments: