some personal, more technical – by Thomas Einwaller
In: Linux
29 Nov 2006If you have to connect to many different unix machines every day there comes the time when you are sick of entering your (hopefully) different passwords again and again.
When working with windows I use Putty and the Pageant for key forwarding (see the documentation).
On a Linux system you can do the following:
ssh-keygen -t rsa
Select default directory and enter the master password to protect your key
eval `ssh-agent` (as background process) or
ssh-agent bash (start bash based on ssh-agent)
ssh-add
Enter the password and the key is loaded
ssh-add -L~/.ssh/authorized_keys on the target machineKeep the password to your key file safe!
For more details see this.