4
1
I have installed openSSH as part of the latest cygwin distribution. My goal is to use the ssh-agent from native window console (cmd) in order to login passwordless in a various number of Linux machines.
I have generated the keys and uploaded them to the appropriate directories in the remote hosts and everything works fine.
The only issue I have is that everytime I open a new cmd I have to run 'ssh-add', enter the passphrase and then I am able login passwordless in the remote hosts. Is there a way to overcome this problem? The ideal solution would be to run ssh-add only once.
fyi: I'm opening the cmd as an argument to the ssh-agent: 'ssh-agent cmd'
a small update: cygwin does not provide keychain as an .exe, thus I cannot use it in order to store my passwords. So I had to use just an empty passphrase in order to avoid typing the passphrase everytime or making an ssh-add everytime I started a new cmd. – nonouco – 2012-10-02T09:14:19.047