| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <44DC7EAA.9060109@kleckner.net> |
| Date: | Fri, 11 Aug 2006 05:57:14 -0700 |
| From: | Jim Kleckner <jek-cygwin1 AT kleckner DOT net> |
| 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> <ebh7as$ssa$1 AT sea DOT gmane DOT org> |
| In-Reply-To: | <ebh7as$ssa$1@sea.gmane.org> |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| 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 |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |