Re: ssh-agent on Red Hat
From: chris (cherbst@hotpop.com)Date: 05/23/02
- Next message: Richard E. Silverman: "Re: Multipal systems behind the same IP"
- Previous message: Nico Kadel-Garcia: "Re: How to apply chroot patch"
- In reply to: Robert Morelli: "ssh-agent on Red Hat"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: chris <cherbst@hotpop.com> Date: Thu, 23 May 2002 08:50:53 -0400
On Thu, 23 May 2002 04:48:07 -0400, Robert Morelli wrote:
> I'd like to use ssh-agent for authentication on my Red Hat 7.1 system,
> by using something in the spirit of ssh-agent startx However, when I
> log in, my start up scripts get me to gnome's login screen
> automatically, so I never actually enter startx manually.
>
> I'm a bit too lazy to unravel exactly where and in which script I'd need
> to put ssh-agent, so I'd appreciate it very much if someone who already
> knows this could let me know.
I have this in ~/.xinitrc:
ssh-agent > ~/.ssh-agent
eval `grep ^SSH ~/.ssh-agent`
I sent the variables to a seperate file so I could make a cron to delete
my keys every 4 hours or so. I am using 'startx', not xdm or anything
like that to start x. ssh-agent is started and all the variables are set
for me with this.
I don't know if .xinitrc is read in your config, I guess you would want
this before 'gnome-session' (if you are using gnome as your desktop
environment) in .xinitrc or .xsession, whatever your system uses.
- Next message: Richard E. Silverman: "Re: Multipal systems behind the same IP"
- Previous message: Nico Kadel-Garcia: "Re: How to apply chroot patch"
- In reply to: Robert Morelli: "ssh-agent on Red Hat"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|