From owner-freebsd-questions Tue Feb 6 0:24:12 2001 Delivered-To: freebsd-questions@freebsd.org Received: from rapier.smartspace.co.za (rapier.smartspace.co.za [66.8.25.34]) by hub.freebsd.org (Postfix) with SMTP id 0720D37B401 for ; Tue, 6 Feb 2001 00:23:53 -0800 (PST) Received: (qmail 52727 invoked by uid 1001); 6 Feb 2001 08:23:37 -0000 Date: Tue, 6 Feb 2001 10:23:37 +0200 From: Neil Blakey-Milner To: John Indra Cc: Kris Kennaway , freebsd-questions@FreeBSD.ORG Subject: Re: What is ssh-agent and ssh-add? Message-ID: <20010206102337.B52096@rapier.smartspace.co.za> References: <20010206093155.B11011@office.naver.co.id> <20010205200057.B82933@mollari.cthul.hu> <20010206112253.E18364@office.naver.co.id> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010206112253.E18364@office.naver.co.id>; from john@office.naver.co.id on Tue, Feb 06, 2001 at 11:22:54AM +0700 Organization: Building Intelligence X-Operating-System: FreeBSD 4.2-RELEASE i386 X-URL: http://rucus.ru.ac.za/~nbm/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue 2001-02-06 (11:22), John Indra wrote: > >They let you cache your SSH credentials locally and forward them on to > >other systems you connect to, so you don't have to type your > >passphrase more than once. > > Interesting... > After reading this, I try to run it. I'm on KDE's konsole: > $ ssh-agent > setenv SSH_AUTH_SOCK /tmp/ssh-xNYNtyGM/agent.42177; > setenv SSH_AGENT_PID 42186; > echo Agent pid 42186; > $ ssh-add > Could not open a connection to your authentication agent. > > Hmm... something I did wrong? I'm guessing you're using bash. Try "eval `ssh-agent -s`". In tcsh, I use "eval `ssh-agent -c`". Neil -- Neil Blakey-Milner nbm@mithrandr.moria.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message