Monday, August 8

Getting ssh-agent to play nice

Want ssh agent to play nicely?

Simples!

nano -w ~/.bashrc

Add this to the end

ssh-agent -t 1d
eval `keychain --eval --agents ssh id_dsa`


----

What are we doing? Loading ssh-agent with 1 day time out - adjust as needed.
Load the keychain for ssh. It'll request the passphase when you start a shell :)

Search This Blog