SSH key generation and keychain

Steven W. Orr steveo at syslang.net
Fri Jun 4 17:18:00 EDT 2004


On Friday, Jun 4th 2004 at 15:55 -0400, quoth Eric Pfeifer:

=>A long time lurker first time poster...
=>
=>I am in the process of trying to automate some of my accounts using ssh 
=>and rsa keys. I pulled down keychain and have been reading some net 
=>references on how to configure ssh to allow a passwordless login.
=>
=>I've established my keypair and copied the public key (id_rsa.pub) to 
=>the .ssh home directory on the remote machine and merged it into 
=>authorized_keys. I've ran ssh-agent and did an ssh-add. but I still get 
=>prompted for my key passphrase. How can I set it up so I don't get 
=>prompted?
=>
=>Thanks,

If this helps, I added these two lines to my .bash_profile:

keychain --quiet ~/.ssh/id_dsa ~/.ssh/identity
. ~/.keychain/$(uname -n)-sh

And yes, the correct file is authorized_keys2.

-- 
Time flies like the wind. Fruit flies like a banana. Stranger things have  .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steveo at syslang.net



More information about the gnhlug-discuss mailing list