|
|||||||||||
|
RE: Need help starting the agent.
From: Haan, de, Jan <Jan.de.Haan(at)Essent.nl>
Date: Thu Jul 10 2003 - 01:27:01 EDT
2 working examples, first from CDE: ~/.dtprofile: export SSH_ASKPASS="/opt/ssh_askpass/bin/x11-ssh-askpass" dtstart_session[0]="/usr/local/bin/ssh-agent $DT_BINPATH/dtsession" ~/.dt/sessions/sessionetc:
#!/bin/sh
Second example Gnome 2.2 ( ;-) ) /etc/gdm/Sessions/Gnome: Gnome:96:sshagent=/usr/bin/ssh-agent Gnome:136:if [ -x $sshagent -a -z "$SSH_AUTH_SOCK" ]; then Gnome:141: exec $sshagent -- $gnomesession ~/.gnome2/sessionmanual:
[Default]
0,RestartStyleHint=3 0,Priority=50 0,RestartCommand=/opt/_scripts/gnome-ssh-askpass /opt/_scripts/gnome-ssh-askpass:
#!/bin/bash
ssh-add < /dev/null > /dev/null
The 'hanging' of your X client, if you don't get this right, is very familiar ;-) Sincerely J. de Haan.
-----Oorspronkelijk bericht-----
I'm not sure why this doesn't work, but my X startup hangs up tight as a drum. I put this before startkde in my .xinitrc
eval `ssh-agent`
So I commented out the whole line that runs ssh-add. I came up but I have an SSH_ASKPATH variable set. I have no idea why. Can somone tell me exactly what to add to my .xinitrc? Thanks. P.S. I'm in the middle of the ssh book and it's really amazing. Lots of good stuff. --
This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:03:00 EDT |
||||||||||
|
|||||||||||