Skip site navigation (1)Skip section navigation (2)
Date:      02 Oct 2001 21:17:00 +0100
From:      Wayne Pascoe <wayne.pascoe@ehsrealtime.com>
To:        freebsd-questions@freebsd.org
Subject:   ssh-agent from .xinitrc
Message-ID:  <863d51re4j.fsf@pan.home.penguinpowered.org.uk>

next in thread | raw e-mail | index | archive | help
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 </dev/null wmaker 
but all of these fail.

What is the best way to achieve what I am trying to do here?

Thanks,

-- 
Wayne Pascoe <wayne.pascoe@ehsrealtime.com>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?863d51re4j.fsf>