From owner-freebsd-questions Tue Oct 2 13:21: 8 2001 Delivered-To: freebsd-questions@freebsd.org Received: from tungsten.btinternet.com (tungsten.btinternet.com [194.73.73.81]) by hub.freebsd.org (Postfix) with ESMTP id 680FF37B403 for ; Tue, 2 Oct 2001 13:21:05 -0700 (PDT) Received: from [217.35.26.219] (helo=marvin.penguinpowered.org.uk) by protactinium with esmtp (Exim 3.22 #6) id 15oVzo-00023T-00 for freebsd-questions@freebsd.org; Tue, 02 Oct 2001 21:18:28 +0100 Received: from [192.168.10.11] (helo=pan.realtime.co.uk) by marvin.penguinpowered.org.uk with esmtp (Exim 3.22 #1) id 15oVtg-0002ZZ-00 for freebsd-questions@freebsd.org; Tue, 02 Oct 2001 21:12:08 +0100 Received: from waynep by pan.realtime.co.uk with local (Exim 3.22 #1) id 15oVyO-00008J-00 for freebsd-questions@freebsd.org; Tue, 02 Oct 2001 21:17:00 +0100 From: Wayne Pascoe To: freebsd-questions@freebsd.org Subject: ssh-agent from .xinitrc Reply-To: wayne.pascoe@ehsrealtime.com Date: 02 Oct 2001 21:17:00 +0100 Message-ID: <863d51re4j.fsf@pan.home.penguinpowered.org.uk> Lines: 29 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 all, I want to run ssh-agent and ssh-add to authenticate at the beginning of my X session. When I was using gnome (that's a whole other post :)) I had exec ssh-agent gnome-session in .xinitrc. I then used gnome's session startup to run ssh-add with priority 50. This all worked great. Since my reload I can no longer use gnome, so I am using wmaker. doing exec ssh-agent ssh-add wmaker doesn't work because ssh-add assumes that wmaker is the identity file to use. I have also tried exec ssh-agent ssh-add /home/waynep/.ssh/identity wmaker and exec ssh-agent ssh-add /home/waynep/.ssh/identity Things fall apart; the center cannot hold; Mere anarchy is loosed upon the world. - Yeats To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message