Summary: starting CDE inside ssh-agent

From: Adam and Christine Levin (levins@westnet.com)
Date: Wed Dec 15 1999 - 14:12:21 CST


Thanks to:
John D Groenveld <jdg117@elvis.arl.psu.edu>
Craig Ledbetter <cledbett@homeaccount.com>
Dave McFerren <mcferren@colltech.com>
Francisco Azinsan <francisco@vulpes.net>

The easiest answer:
Put the following in $HOME/.dtprofile:
eval `ssh-agent -s`
ssh-add </dev/null

The ssh-agent works for me, but the ssh-add doesn't (it doesn't pop up the
dialog). Still, it means I only have to run the one ssh-agent, which was
the whole point. I can run ssh-add once after the xterms come up, and
that's fine.

Thanks to all,
-Adam

Original question:

On Wed, 15 Dec 1999, Adam and Christine Levin wrote:
> I've got a Sparc 5 on my desk that I use to connect to all of our other
> systems. Sometimes I can have dozens of windows open. We use SSH here,
> and it's a pain to have to start an ssh-agent every time I fire up an
> xterm, because then I have to enter my identity passphrase for each window
> I open. I'd like to start my X session within ssh-agent so I only have to
> ssh-add once.
>
> I've tried logging in from the CDE login manager via command line, and
> then running ssh-agent xinit Xsession, but the session isn't quite the
> same as when I login to the CDE directly from the Login Manager (namely,
> from the command line it goes to Openwindows first and then launches CDE,
> whereas from the graphical screen it seems to go directly into CDE). I'm
> looking through the Xsession, Xstartup and Xconfig files, but I'm not sure
> where to edit them to make the CDE start inside ssh-agent (and making sure
> the ssh-agent is running as me, not root).
>
> This is under Solaris 2.6. Any help is appereciated. I'll summarize.
>
> -Adam
>
>
>



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:35 CDT