From owner-freebsd-questions Mon Feb 5 21: 7:11 2001 Delivered-To: freebsd-questions@freebsd.org Received: from easynet-gw.netvalue.fr (unknown [212.180.121.161]) by hub.freebsd.org (Postfix) with ESMTP id 288CE37B491 for ; Mon, 5 Feb 2001 21:06:54 -0800 (PST) Received: from mail.netvalue.fr (unknown [192.168.1.13]) by easynet-gw.netvalue.fr (Postfix) with ESMTP id D25448C47 for ; Tue, 6 Feb 2001 06:08:52 +0100 (CET) Received: from mail-hk.netvalue.fr ([192.168.100.13]) by mail.netvalue.fr (Netscape Messaging Server 3.6) with ESMTP id AAA180A for ; Tue, 6 Feb 2001 06:06:02 +0100 Received: from erwan.netvalue.fr ([192.168.100.100]) by mail-hk.netvalue.fr (Netscape Messaging Server 4.15) with ESMTP id G8BKTK00.BUS; Tue, 6 Feb 2001 13:05:44 +0800 Received: from netvalue.com (localhost [127.0.0.1]) by erwan.netvalue.fr (Postfix) with ESMTP id A0F0A1A4F; Tue, 6 Feb 2001 13:05:47 +0800 (HKT) Message-ID: <3A7F862B.B1255377@netvalue.com> Date: Tue, 06 Feb 2001 13:05:47 +0800 From: Erwan Arzur Organization: NetValue Ltd. X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en, fr-FR MIME-Version: 1.0 To: John Indra Cc: freebsd-questions@FreeBSD.ORG Subject: Re: What is ssh-agent and ssh-add? References: <20010206093155.B11011@office.naver.co.id> <20010205200057.B82933@mollari.cthul.hu> <20010206112253.E18364@office.naver.co.id> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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