i noticed the other day that on the linux boxes i log into in the lab at school, a bunch of ssh-agent processes are left running after a while -- like, hours after i log out, they'll still be there. i asked the sysadmin about this, and he pointed me to the different ways of calling ssh-agent in my .xsession -- with 'exec' or 'eval'. i'm using eval, and that was apparently creating these abandoned processes; he uses exec, and no extra processes are created. the only problem is this: using 'exec', i can't even log in. i type my username and password, and then it kicks me back to the login screen. this happens on both the debian and redhat systems in the lab. the relevant lines from my .xsession are below: if ! echo $PATH | /bin/grep -q "/usr/X11R6/bin" ; then PATH="$PATH:/usr/X11R6/bin" fi xmodmap /home/nori/.keymaps/dvorak.pke exec `ssh-agent` ssh-add $HOME/.ssh/id_dsa </dev/null fvwm2 thanks! </nori> -- .~. nori @ sccs.swarthmore.edu /V\ http://www.sccs.swarthmore.edu/~nori/jnl/ // \\ @ maenad.net /( )\ www.maenad.net ^`~'^ get my (*new*) key here: http://www.maenad.net/geek/gpg/7ede5499.asc (please *remove* old key 11e031f1!)
Attachment:
pgpnpTvhmHY4J.pgp
Description: PGP signature