On Thu, Aug 24, 2006 at 02:46:59PM +0300, Hisham Mardam Bey wrote:
> On 8/24/06, Landry, Marc-Andre <[EMAIL PROTECTED]> wrote:
> > Hello,
> > I try to activate ssh-agent under E17.
> >
> > Their must be some way else using pam_ssh module as a login module.
> 
> I personally have ssh-agent enlightenment in my .xinitrc. When I run
> E, i just ssh-add in any terminal, enter my password, and everything
> from there on works.


I start the keychain ssh-agent manager
(http://dev.gentoo.org/~agriffis/keychain/) in my .xsession (which
also starts enlightenment and a bunch of other things). Using
keychain, you only ever need to type your password once to make it
available in any terminal. You can of course use ssh-agent, .bashrc
and scripting hackery to accomplish the same thing, but that's all
keychain does anyway! (And does it better than I could.)

I used to have keychain and ssh-add in my .bashrc, but that got
annoying when I didn't want to use ssh in the first terminal I started
(after the first one, keychain makes sure I don't need to type the
password again in all the others). So now I use a wrapper-script
around ssh that runs keychain and ssh-add if it can't find a running
ssh-agent (i.e. the first time I use ssh, and never again).

You might want to kill keychain  when you logout (at the end of
.xsession, for example), otherwise keychain will leave ssh-agent
running even when you're logged out, which is a security risk.

HTH,

Toby
-- 
PhD Student
Quantum Information Theory group
Max Planck Institute for Quantum Optics
Garching, Germany

email: [EMAIL PROTECTED]
web: www.dr-qubit.org

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to