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'