From owner-freebsd-questions@FreeBSD.ORG Mon Nov 29 14:47:19 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DC231065670 for ; Mon, 29 Nov 2010 14:47:19 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-ww0-f51.google.com (mail-ww0-f51.google.com [74.125.82.51]) by mx1.freebsd.org (Postfix) with ESMTP id 93F108FC1A for ; Mon, 29 Nov 2010 14:47:18 +0000 (UTC) Received: by wwe15 with SMTP id 15so4667340wwe.8 for ; Mon, 29 Nov 2010 06:47:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=L7LSwJZ7Qn4Sk7Uc6r9SDA0lwC/4CSZqRZG92B6AwRI=; b=kF+0WQbF/mI+i/Ifj9uq8ivt/E8F5u/VjW+1pxG8ZLun43y/+3RstNQbmuFTBD7Moe 41SMHpDmzpfW96p7gCIn27kjB5vJwXXJS851acm+zsDqQtYElZOOJLTbIGLZK5wGegJX t+Xn1WS+nAC0FIB4oKPLOMajpLLHMwFDAmnBo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=B48+J6dHoxpPalZAnunR9r7XKRjFclNJsXSro+D2fIanQieCxyYwuMwOUOUfsbwCd6 vnAwmicrzVVBK6xb8bo8LpODh8rycGDB3Coh9awthmvXET3p7kFWCbunXGRrvaKNmKTN OJ3Y0UcCwNLaqo7RHv6MDYjFqc21tRn/MZVTQ= MIME-Version: 1.0 Received: by 10.216.4.82 with SMTP id 60mr418915wei.89.1291042037021; Mon, 29 Nov 2010 06:47:17 -0800 (PST) Received: by 10.216.12.80 with HTTP; Mon, 29 Nov 2010 06:47:16 -0800 (PST) In-Reply-To: References: Date: Mon, 29 Nov 2010 08:47:16 -0600 Message-ID: From: Brandon Gooch To: bluethundr Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions Subject: Re: ssh-agent and ssh-add on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Nov 2010 14:47:19 -0000 On Mon, Nov 29, 2010 at 8:40 AM, bluethundr 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