I've been trying to figure out how to get ssh-agent to auto-startup w/ CDE on
Solaris.
I got things working pretty well by changing .dtprofile to have
"DTSOURCEPROFILE=true", and then adding to .login:
if ( ${?DT} ) then
eval `/usr/local/bin/ssh-agent`
else
This gets things working 95% of the way .... The problem that I still have, is
that when I exit out of CDE, the agent is still running, and I don't see an
automatic way of killing it.
Is anyone doing this? My goal is to have ssh-agent work for any terminal that
I open under CDE. Right now, I manually do a 'ssh-agent xterm' and then run
stuff from there, which is really annoying.
I haven't tried an .xsession file with "ssh-agent /usr/dt/bin/dtsession",
figuring that everything else that starts up with CDE (ttsession, etc.) needs
to run also.
Any ideas? Thanks in advance.
--
Randomly Generated Tagline:
"I hope to get a job out of it. I can put on my resume that I know UNIX."
- Linus Torvalds