ssh-agent at startup

Kevin Cella kcella@nycap.rr.com
Mon Jun 1 01:50:00 GMT 2009


I'm trying to automate my backup using rsync and cron. I have the ssh key pair 
setup, but still requires me manually start s cygwin shell every time I boot 
into Windows. Does anyone know of a way to start and agent and prompt for my 
passphrase at boot?

Below is what I'm using now and is what I consider a hack. I'd prefer 
something more polished.

C:\cygwin\bin\bash.exe -c "eval `/usr/bin/ssh-agent`; /usr/bin/ssh-add; exit;"


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list