Date: Mon, 05 Feb 2001 20:50:12 -0800 From: Dima Dorfman <dima@unixfreak.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: <20010206045017.21F8A3E09@bazooka.unixfreak.org> In-Reply-To: Message from John Indra <john@office.naver.co.id> of "Tue, 06 Feb 2001 11:22:54 %2B0700." <20010206112253.E18364@office.naver.co.id>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Mon, Feb 05, 2001 at 08:00:57PM -0800, Kris Kennaway 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. Now that you know what it is, you should probably read the man page more carefully. Basically, ssh-agent's output is supposed to be evaluated by your shell. Information about its existance is conveyed to ssh(1) and ssh-add(1) via environment variables. The short fix is to do: eval `ssh-agent`. The longer way is to read the man page. Hope this helps Dima Dorfman dima@unixfreak.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?20010206045017.21F8A3E09>