From owner-freebsd-questions@FreeBSD.ORG Tue Feb 15 16:51:51 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0AEFE16A4CE for ; Tue, 15 Feb 2005 16:51:51 +0000 (GMT) Received: from ms-smtp-04.nyroc.rr.com (ms-smtp-04.nyroc.rr.com [24.24.2.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4EF0D43D41 for ; Tue, 15 Feb 2005 16:51:48 +0000 (GMT) (envelope-from ckern1@twcny.rr.com) Received: from localhost (cpe-24-24-26-169.twcny.res.rr.com [24.24.26.169]) j1FGpfpl008061 for ; Tue, 15 Feb 2005 11:51:43 -0500 (EST) Date: Tue, 15 Feb 2005 11:51:41 -0500 From: Clayton Scott Kern To: freebsd-questions@freebsd.org Message-ID: <20050215165141.GA87901@reddwarf.twcny.rr.com> References: <20050215142205.GA28272@phenix.rootshell.be> <55651.213.236.228.129.1108481931.squirrel@mail.adventuras.no> <57240.213.236.228.129.1108483003.squirrel@mail.adventuras.no> <20050215163842.GA10689@phenix.rootshell.be> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050215163842.GA10689@phenix.rootshell.be> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: Re: SSH-agent setting X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Feb 2005 16:51:51 -0000 Why not use keychain and put it in the appropriate rc file (.bashrc, cshrc, etc.), then you'll be connected to the agent automatically. on 02-15-2005, kilim wrote: > On Tue, Feb 15, 2005 at 04:56:43PM +0100, Lars Kristiansen wrote: > > >> Hello, > > >> > > >> I set ssh-agent just fine for a session from a xterm under X. > > >> > > >> > > >> But what I'd like to have is once I log in to have session start from > > >> my .profile so that when I do "startx" every subsequent xterm > > >> 'inherits' the ssh-agent so that I don't have to type in the password. > > >> > > >> Is such a thing do-able ? > > > > > > in ~/.xinit start your windowmanager with something like: > > correction: i have this in the file ~/.xsession , sorry. > > > "/usr/bin/ssh-agent ~/bin/startmywindowmanager" > > Thanks Lars ! > > I'm doing something like this, in my .xinitrc, as I start the X > from the command line using 'startx': > > /usr/bin/ssh-agent "/usr/X11R6/bin/wmaker" > > Then in the xterm I just type ssh-add and every consecutive xterm > can use ssh without prompting for the password. > > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Clayton Scott Kern ckern1@twcny.rr.com The software states that it UNIX System Administrator requires Microsoft Windows 95, FreeBSD, OpenBSD, NetBSD, Windows 98, Windows NT 4.0 or Linux, Solaris, HP-UX higher, so I installed FreeBSD.