From owner-freebsd-questions Sun Sep 1 9:28:14 2002 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 0F64237B400 for ; Sun, 1 Sep 2002 09:28:12 -0700 (PDT) Received: from argus.volker.de (pD9504DC9.dip.t-dialin.net [217.80.77.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 18AE943E4A for ; Sun, 1 Sep 2002 09:28:05 -0700 (PDT) (envelope-from freebsd@secspace.de) Received: from argus.volker.de (localhost [127.0.0.1]) by argus.volker.de (8.12.5/8.12.5) with SMTP id g81GS150000341 for ; Sun, 1 Sep 2002 18:28:02 +0200 (CEST) (envelope-from freebsd@secspace.de) Date: Sun, 1 Sep 2002 18:28:01 +0200 From: Volker Kindermann To: freebsd-questions@FreeBSD.ORG Subject: how to autostart ssh-add? Message-Id: <20020901182801.5593f2ef.freebsd@secspace.de> X-Mailer: Sylpheed version 0.8.1claws (GTK+ 1.2.10; i386-portbld-freebsd4.6) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I'm running FreeBSD stable on my notebook. I use the X-Environment and log in graphically with xdm. I connect very often to remote machines with ssh, so I decided to use publickey authentication and ssh-agent/ssh-add (my private keys are protected with passphrases). My .xsession looks like: [vkinderm@argus vkinderm]$ cat .xsession exec /usr/bin/ssh-agent /usr/X11R6/bin/fluxbox After logging in, I start a xterm and run ssh-add to add my keys to the agent. Now I'm looking for a way to have ssh-add automatically started after login. OpenBSD does it. I've already copied all of the OpenBSD xdm-files to my FreeBSD box but no success. Has anybody managed to get this started? Thanks a lot -volker -- Please don't cc me: I read the lists and don't need your message twice :-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message