On Friday, April 13, 2001 08:47:25 AM -0700 Ashley wrote:
+------
|
| I'm trying to learn the use of ssh-agent. Why don't the environment vars
| SSH_AGENT_PID, SSH_AUTH_SOCK get set?
I removed most of the text because I didn't think it relevant.
No process can change the environment of another process (I know that this
isn't true but it is nearly true) so you need to:
eval `ssh-agent`
if you want to set the evnironment of the current shell. However as you are
posting to a SuSE list I presume that you are running SuSE and that you are
using ?dm to login. In the default .xsession there is a variable called
usessh and if it is set to yes then ssh-agent is run for you provided that
you have a .xinitrc which is also the default.
/Michael
--
This space intentionally left non-blank.