Monthly Archives: November 2007

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:

  1. Generate a private key ssh-keygen -t dsa
  2. Copy this key to the correct place on the remote machine, usually this is ~/.ssh/authorized_keys
  3. Type in ssh-add before 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.