Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Nov 2010 08:47:16 -0600
From:      Brandon Gooch <jamesbrandongooch@gmail.com>
To:        bluethundr <bluethundr@gmail.com>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: ssh-agent and ssh-add on FreeBSD
Message-ID:  <AANLkTi=O9RJ92wXTyeMHBtt_5T-4PKXe6=BVpcoekXWZ@mail.gmail.com>
In-Reply-To: <AANLkTim6XMPMt8wyyGQ5sLh-V76DobVHRBRgGfAcU5pO@mail.gmail.com>
References:  <AANLkTim6XMPMt8wyyGQ5sLh-V76DobVHRBRgGfAcU5pO@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 29, 2010 at 8:40 AM, bluethundr <bluethundr@gmail.com> wrote:
> Hey list
>
> =A0On my CentOS machines I usually keep track of my rsa key with
> ssh-agent, ssh-add and keychain
>
> =A0I would like to know
>
> a) how to install keychain under FreeBSD
> and
> b) how to fix this error:
>
> [bluethundr@LBSD2:~]#ssh sum1
> Enter passphrase for key '/home/bluethundr/.ssh/id_rsa':
> [bluethundr@LBSD2:~]#exec ssh-agent bash
> [bluethundr@LBSD2:~]#ssh-add
> Could not open a connection to your authentication agent.a
>
>
> Whenever I try to ssh to another box on the network (with a homedir
> shared amongst all centos =A0and FreeBSD machines) it prompts me for my
> passphrase. Usually on the CentOS boxes exec ssh-agent bash does the
> trick. Anyone have any idea why this isn't working on the FreeBSD box?
>
> thanks!!

The man page for ssh-agent is very informative:

http://www.freebsd.org/cgi/man.cgi?query=3Dssh-agent&sektion=3D1

I read it recently when setting up my system to do as you're trying to do.

Of course, don't hesitate to refer to the EXCELLENT FreeBSD Handbook,
it is absolutely one of the best references I've ever seen for any
software:

http://www.freebsd.org/doc/handbook/openssh.html

Good luck!

-Brandon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=O9RJ92wXTyeMHBtt_5T-4PKXe6=BVpcoekXWZ>