On Mon, May 11, 1998 at 01:16:55PM +1000, Drake Diedrich wrote: > An alternative is to run ssh-agent and ssh-add from your > .login/.profile files, and save the output (export SSH_*=... lines) to a > temporary file for future sourcing. Email me if you want bash versions > (they're on an offline machine at the moment).
Here is my .xsession file: eval `ssh-agent` ssh-add fvwm2 When xdm starts, it asks for my user name and password, and then ssh asks for my passphrase. The info is stored in RAM and available for any shell in X. There may be some problems if you use a csh variant. ssh-agent seems to check the password file for your shell, but I think the .xsession is run under sh. Try changing eval `ssh-agent` to eval `ssh-agent -s` to get the correct type of variable assignments. I don't know if the csh problem was with xdm or startx or both. -- Lee Bradshaw [EMAIL PROTECTED] (preferred) Alantro Communications [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]