Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

up vote 2 down vote accepted

Look at this thread on askubuntu.com: 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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.