delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/31/21:50:20

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Kevin Cella <kcella AT nycap DOT rr DOT com>
Subject: ssh-agent at startup
Date: Mon, 1 Jun 2009 01:46:48 +0000 (UTC)
Lines: 9
Message-ID: <loom.20090601T014338-606@post.gmane.org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019