This is the mail archive of the
cygwin
mailing list for the Cygwin project.
ssh-agent at startup
- From: Kevin Cella <kcella at nycap dot rr dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 1 Jun 2009 01:46:48 +0000 (UTC)
- Subject: ssh-agent at startup
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/