Operating System - HP-UX
1833750 Members
2428 Online
110063 Solutions
New Discussion

Re: CDE with openssh ssh-agent ssh-add

 
ATTWS-OPS
New Member

CDE with openssh ssh-agent ssh-add

Hello guys and gals,

Unlike some people I enjoy the CDE interface and use the dtwmrc file extensively. What I'm trying to do is setup the CDE to where when I login it will start the ssh-agent and run ssh-add and ask me to put my passphrase in so that all events within X11 use it. The key here is for the dtwmrc file to have access to the ssh-agent for when I ssh to another system using it. Any ideas on how to do this?

Thanks in advance...
3 REPLIES 3
Joseph Oaks
New Member

Re: CDE with openssh ssh-agent ssh-add

Sorry, did not realize I was logged in with the wrong account.

Joe
Andrew Cowan
Honored Contributor

Re: CDE with openssh ssh-agent ssh-add

You could set all this up in your .profile, do a textual login, and then manually start CDE.

The other option is to investigate the "USEDTSOURCEPROFILE" in your .dtwmrc file. Its normally commented out, but when activated it should run your profile before starting the GUI. The only thing to be careful of here is if there are any commands in the .profile that may upset X. If so put some "if" statements in to control what happens when you login character-based methods, and via X.
Glenn Thomas_1
New Member

Re: CDE with openssh ssh-agent ssh-add

Hi all, I am working on getting SSH to play with CDE. I have found that I can start the agent from .dtprofile with the commandline of " eval `/opt/ssh/bin/ssh-agent` "
( No "s ) and all terminal windows I open use the single agent process. The HPUX compile of OpenSSH is missing the /opt/ssh/libexec/ssh-askpass so the next line in .dtprofile " ssh-add " fails to open an X dialog to ask for the pass phrase and load the key.
How do I get the SSH lab to create ssh-askpass ?? The depot contains versions for LINX !!