How do I setup ssh-agent with Cygwin?

CYGWIN : ssh-agent

Create your keys using ssh-keygen (see previous ssh-agent procedure).
Copy your key to the target servers (again see the previous procedure).
Then either run the following: –

eval ssh-agent
enter the passphrase generated earlier

or add the eval and ssh-add to a script and call to the current shell

. ./start_agent (where start_agent contains the commands above).


I'm a freelance UNIX engineer working in the UK. I'm married to Tina and between us we have six children. I'm a bit of an Apple fan boy, and all the Windows machines in the house are a thing of the past now.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: