Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Feb 2001 13:05:47 +0800
From:      Erwan Arzur <erwan@netvalue.com>
To:        John Indra <john@office.naver.co.id>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: What is ssh-agent and ssh-add?
Message-ID:  <3A7F862B.B1255377@netvalue.com>
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
John Indra wrote:
> 
> 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.
> 
> Hmm... something I did wrong?
> 

Sure, as ssh-agent set some environment variables, it has to exec your
shell. The appropriate command would have been something like "exec
ssh-agent zsh" ...

i've replaced the line executing my window manager by "exec ssh-agent
wmaker" in ~/.xsession. 

A nice thing to have installed is /usr/ports/security/openssh-askpass,
too ...
--
Erwan Arzur
NetValue ltd.


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?3A7F862B.B1255377>