Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Feb 2001 10:23:37 +0200
From:      Neil Blakey-Milner <nbm@mithrandr.moria.org>
To:        John Indra <john@office.naver.co.id>
Cc:        Kris Kennaway <kris@obsecurity.org>, freebsd-questions@FreeBSD.ORG
Subject:   Re: What is ssh-agent and ssh-add?
Message-ID:  <20010206102337.B52096@rapier.smartspace.co.za>
In-Reply-To: <20010206112253.E18364@office.naver.co.id>; from john@office.naver.co.id on Tue, Feb 06, 2001 at 11:22:54AM %2B0700
References:  <20010206093155.B11011@office.naver.co.id> <20010205200057.B82933@mollari.cthul.hu> <20010206112253.E18364@office.naver.co.id>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010206102337.B52096>