X-Spam-Check-By: sourceware.org Message-ID: <44DC7EAA.9060109@kleckner.net> Date: Fri, 11 Aug 2006 05:57:14 -0700 From: Jim Kleckner User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: keychain doesn't properly cache ssh key References: <080109DC-4C78-4C2F-82CD-E5B3FDC9AABE AT uwalumni DOT com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com René Berber wrote: > Keychain seems to be missing the equivalent of "eval `ssh-agent -s`" (if using > bash). > I use this bash function to start keychain to work around that issue. function kc() { #Keychain invocation keychain ~/.ssh/id_rsa if [ -e ~/.ssh-agent-`hostname` ] ; then source ~/.ssh-agent-`hostname` elif [ -e ~/.keychain/`hostname`-sh ] ; then source ~/.keychain/`hostname`-sh fi } -- 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/