Ubuntu and ssh-agent
Dear Reader, it turns out that those frightfully clever chaps in the Ubuntu bunker (or it may be the Debian bunker) have done the decent thing and installed ssh-agent so that it runs automagically. This means that to get ssh-agent working on your machine you actually have to do very little, more detail is provided here, but the essentials are:
- Generate a private key
ssh-keygen -t dsa
- Copy this key to the correct place on the remote machine, usually this is
- Type in
ssh-addbefore you start doing anything fun on the local machine. This requires you to enter your local pass phrase. You can also set up Ubuntu to ask you this pass phrase at login.