Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does anyone know how to make it so that I don't have to add my keys manually using ssh-add? Every time I log into my Ubuntu server box, I have to start the ssh-agent and then use ssh-add before my keys are available. Have I done something to mess up the default behavior of ssh? Let me know if there's information I can provide that would help answering this question.

share|improve this question
up vote 2 down vote accepted

Look at this thread on Why wont ssh agent save my unencrypted key for later use

It gives the parameters you need to use in bash to wake up ssh-agent on each login.

share|improve this answer
Worked perfectly. For future internet readers, if you're like me, you have a bunch of leftover ssh-agent processes from your previous attempts. "sudo killall ssh-agent" will kill all of them. – tubaguy50035 May 20 '12 at 21:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .