how to make ssh-agent automatically

Morche Matthias
Thu Dec 1 06:57:00 GMT 2005

Simpler than using keychain and ssh-agent, Hmm... did You ever try to
just generate your key by ssh-keygen and then copy the public key
~/.ssh/ eg to Your remote host into ~/.ssh/authorized_keys.
Would You consider this to be simpler?


H.S. wrote:
> Hi Karl,
> Karl M wrote:
>> Hi HS...
>> You can use keychain (a package available from setup.exe).
>> I do something like
>> ssh-add -l >/dev/null 2>&1
>> if [ $? -eq 1 ]; then
>>  ssh-add
>> fi
>> in my .bash_profile, because keychain is slow when I launch several
>> windows.
> Okay, I will try that. BTW, just out of curosity, is using keychain
> only one of the methods to achieve this or is it the only method? I
> mean, is it possible to do this without keychain or any other
> packages and just with ssh and rsync and login/logout files and
> environment variables? 

Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list