Re: [e-users] I try to use ssh-agent but nogood

2006-08-26 Thread Landry, Marc-Andre
Carsten Haitzler (The Rasterman) wrote:
 On Fri, 25 Aug 2006 16:34:42 -0400 Landry, Marc-Andre [EMAIL PROTECTED]
 babbled:
 
 Carsten Haitzler (The Rasterman) wrote:
 maybe you should make the eap do:

 xterm -e gdb ssh-agent

 and trace it (maybe compile ssh-agent so you have debugging symbols).?

 I tried tracing it but ssh-agent don't bug... It just didn't propagate
 is value to enlightenment env vars if I put it in the startup sequence
 of enlightenment :
 ---
  ~ $ ssh-agent
 SSH_AUTH_SOCK=/tmp/ssh-WDGQeG3680/agent.3680; export SSH_AUTH_SOCK;
 SSH_AGENT_PID=3681; export SSH_AGENT_PID;
 echo Agent pid 3681;
 ---
 my .order file for startup  resulting ps xf
 ---
  ~ $ ps xf
   PID TTY  STAT   TIME COMMAND
 28528 ?S  0:03 /usr/bin/enlightenment-0.17
 28649 ?Ss 0:00  \_ xscreensaver
 28663 ?Ss 0:00  \_ /bin/bash /usr/libexec/mozilla-launcher
 28699 ?Sl 0:03  |   \_
 /usr/lib/mozilla-thunderbird/thunderbird-bin
 28668 ?Ss 0:01  \_ gaim
 28724 ?S  0:00  |   \_ gaim
 28725 ?S  0:00  |   \_ gaim
 28924 ?Ss 0:00  \_ xterm -rv -bc
 28926 pts/0Ss 0:00  \_ bash
 29021 pts/0R+ 0:00  \_ ps xf
 28713 ?S  0:00 /usr/libexec/gconfd-2 24
 28681 ?Ss 0:00 ssh-agent
 28629 ?S  0:00 dbus-launch --exit-with-session
 /usr/bin/enlightenmen
 28628 ?Ss 0:00 dbus-daemon --fork --print-pid 8
 --print-address 6 --
  ~ $ cat .e/e/applications/startup/.order
 xscreensaver.eap
 thunderbird.eap
 gaim.eap
 ssh-agent.eap
 ---
 In the ps xf output you could see that xscreensaver attach to PPID of
 e17 but not ssh-agent. Should I try to do not fork? And did somebody may
 explain me why I don't see his env value that it shall initialized?
 
 of COURSE you don't see the ssh agent environment. ssh-agent is DESIGNED to be
 run LIKE this:
 
 #!/bin/sh
 
 # run ssh agent and take it's stdout and EVALUATE it - modifying the shell
 # environment
 eval `ssh-agent`
 # run enlightenment - it now inherits the shell environment. anything
 # enlightenment runs will also inherit this environment - which contains the
 # ssh-agent environment variables
 exec enlightenment
 
 The problem is ssh-agent is designed to modify a shell - e's environment 
 CANNOT
 be modified by another program - NO process' environment can be modified by
 another process. a child process inherits the environment of its parent. the
 ONLY reason this works is ssh-agent is designed to print out shell commands
 which as above you tell the shell to READ the stdout from ss-agent and then
 interpret those commands - the shell changes its OWN environment. ssh-agent
 never does.
 

This explain everything. Thank you.

 ---
 I tryed to add it to my .xsession but don't get it to work... even worse
 I break everything and e17 don't get to start.


So I just have to add eval in .xsession... one day I will understand all
the tricky part of the shell. I will have to redesing lot of my shell
script at work, it will simplify the understanding.


-
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=lnkkid=120709bid=263057dat=121642
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] I try to use ssh-agent but nogood

2006-08-26 Thread Landry, Marc-Andre
Landry, Marc-Andre wrote:
 Carsten Haitzler (The Rasterman) wrote:
 On Fri, 25 Aug 2006 16:34:42 -0400 Landry, Marc-Andre [EMAIL PROTECTED]
 babbled:

 Carsten Haitzler (The Rasterman) wrote:
 maybe you should make the eap do:

 xterm -e gdb ssh-agent

 and trace it (maybe compile ssh-agent so you have debugging symbols).?

 I tried tracing it but ssh-agent don't bug... It just didn't propagate
 is value to enlightenment env vars if I put it in the startup sequence
 of enlightenment :
 ---
  ~ $ ssh-agent
 SSH_AUTH_SOCK=/tmp/ssh-WDGQeG3680/agent.3680; export SSH_AUTH_SOCK;
 SSH_AGENT_PID=3681; export SSH_AGENT_PID;
 echo Agent pid 3681;
 ---
 my .order file for startup  resulting ps xf
 ---
  ~ $ ps xf
   PID TTY  STAT   TIME COMMAND
 28528 ?S  0:03 /usr/bin/enlightenment-0.17
 28649 ?Ss 0:00  \_ xscreensaver
 28663 ?Ss 0:00  \_ /bin/bash /usr/libexec/mozilla-launcher
 28699 ?Sl 0:03  |   \_
 /usr/lib/mozilla-thunderbird/thunderbird-bin
 28668 ?Ss 0:01  \_ gaim
 28724 ?S  0:00  |   \_ gaim
 28725 ?S  0:00  |   \_ gaim
 28924 ?Ss 0:00  \_ xterm -rv -bc
 28926 pts/0Ss 0:00  \_ bash
 29021 pts/0R+ 0:00  \_ ps xf
 28713 ?S  0:00 /usr/libexec/gconfd-2 24
 28681 ?Ss 0:00 ssh-agent
 28629 ?S  0:00 dbus-launch --exit-with-session
 /usr/bin/enlightenmen
 28628 ?Ss 0:00 dbus-daemon --fork --print-pid 8
 --print-address 6 --
  ~ $ cat .e/e/applications/startup/.order
 xscreensaver.eap
 thunderbird.eap
 gaim.eap
 ssh-agent.eap
 ---
 In the ps xf output you could see that xscreensaver attach to PPID of
 e17 but not ssh-agent. Should I try to do not fork? And did somebody may
 explain me why I don't see his env value that it shall initialized?
 of COURSE you don't see the ssh agent environment. ssh-agent is DESIGNED to 
 be
 run LIKE this:

 #!/bin/sh

 # run ssh agent and take it's stdout and EVALUATE it - modifying the shell
 # environment
 eval `ssh-agent`
 # run enlightenment - it now inherits the shell environment. anything
 # enlightenment runs will also inherit this environment - which contains the
 # ssh-agent environment variables
 exec enlightenment

 The problem is ssh-agent is designed to modify a shell - e's environment 
 CANNOT
 be modified by another program - NO process' environment can be modified by
 another process. a child process inherits the environment of its parent. the
 ONLY reason this works is ssh-agent is designed to print out shell commands
 which as above you tell the shell to READ the stdout from ss-agent and then
 interpret those commands - the shell changes its OWN environment. ssh-agent
 never does.

 
 This explain everything. Thank you.
 
 ---
 I tryed to add it to my .xsession but don't get it to work... even worse
 I break everything and e17 don't get to start.

 
 So I just have to add eval in .xsession... one day I will understand all
 the tricky part of the shell. I will have to redesing lot of my shell
 script at work, it will simplify the understanding.
 
It look like I have a shell trouble 'cause this .xsession script didn't
run as expected.

#!/bin/sh
eval 'ssh-agent'
eval 'dbus-launch --sh-syntax --exit-with-session'
exec enlightenment


Nor SSH and DBus get propagetted to enlightenment. I will try to
understand this. Thank you all for your help.

LMA1980

-
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=lnkkid=120709bid=263057dat=121642
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] I try to use ssh-agent but nogood

2006-08-26 Thread Bertrand Jacquin
On 8/26/06, Landry, Marc-Andre [EMAIL PROTECTED] wrote:
 It look like I have a shell trouble 'cause this .xsession script didn't
 run as expected.

 #!/bin/sh
 eval 'ssh-agent'
 eval 'dbus-launch --sh-syntax --exit-with-session'
 exec enlightenment


 Nor SSH and DBus get propagetted to enlightenment. I will try to
 understand this. Thank you all for your help.

Here is my ~/.xinitrc and all (dbus and env) is ok with it :

export PATH=$PATH:$HOME/bin
source /etc/env.d/02locales

xmms2d 

numlockx on
#xautolock -locker xtrlock 

dbuslaunch=`which dbus-launch 2/dev/null`
if [ -n $dbuslaunch ]  [ -x $dbuslaunch ]  [ -z
$DBUS_SESSION_BUS_ADDRESS ]; then
eval `$dbuslaunch --sh-syntax --exit-with-session`
fi

/usr/libexec/notification-daemon 

if [[ $0 = ${HOME}/.xinitrc ]]; then
exec /usr/bin/enlightenment-0.17
fi


-- 
# Beber : [EMAIL PROTECTED]
# IM : [EMAIL PROTECTED]
# http://www.meleeweb.net

-
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=lnkkid=120709bid=263057dat=121642
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] I try to use ssh-agent but nogood

2006-08-26 Thread The Rasterman
On Sat, 26 Aug 2006 08:30:53 -0400 Landry, Marc-Andre [EMAIL PROTECTED]
babbled:

 Landry, Marc-Andre wrote:
  Carsten Haitzler (The Rasterman) wrote:
  On Fri, 25 Aug 2006 16:34:42 -0400 Landry, Marc-Andre [EMAIL PROTECTED]
  babbled:
 
  Carsten Haitzler (The Rasterman) wrote:
  maybe you should make the eap do:
 
  xterm -e gdb ssh-agent
 
  and trace it (maybe compile ssh-agent so you have debugging symbols).?
 
  I tried tracing it but ssh-agent don't bug... It just didn't propagate
  is value to enlightenment env vars if I put it in the startup sequence
  of enlightenment :
  ---
   ~ $ ssh-agent
  SSH_AUTH_SOCK=/tmp/ssh-WDGQeG3680/agent.3680; export SSH_AUTH_SOCK;
  SSH_AGENT_PID=3681; export SSH_AGENT_PID;
  echo Agent pid 3681;
  ---
  my .order file for startup  resulting ps xf
  ---
   ~ $ ps xf
PID TTY  STAT   TIME COMMAND
  28528 ?S  0:03 /usr/bin/enlightenment-0.17
  28649 ?Ss 0:00  \_ xscreensaver
  28663 ?Ss 0:00  \_ /bin/bash /usr/libexec/mozilla-launcher
  28699 ?Sl 0:03  |   \_
  /usr/lib/mozilla-thunderbird/thunderbird-bin
  28668 ?Ss 0:01  \_ gaim
  28724 ?S  0:00  |   \_ gaim
  28725 ?S  0:00  |   \_ gaim
  28924 ?Ss 0:00  \_ xterm -rv -bc
  28926 pts/0Ss 0:00  \_ bash
  29021 pts/0R+ 0:00  \_ ps xf
  28713 ?S  0:00 /usr/libexec/gconfd-2 24
  28681 ?Ss 0:00 ssh-agent
  28629 ?S  0:00 dbus-launch --exit-with-session
  /usr/bin/enlightenmen
  28628 ?Ss 0:00 dbus-daemon --fork --print-pid 8
  --print-address 6 --
   ~ $ cat .e/e/applications/startup/.order
  xscreensaver.eap
  thunderbird.eap
  gaim.eap
  ssh-agent.eap
  ---
  In the ps xf output you could see that xscreensaver attach to PPID of
  e17 but not ssh-agent. Should I try to do not fork? And did somebody may
  explain me why I don't see his env value that it shall initialized?
  of COURSE you don't see the ssh agent environment. ssh-agent is DESIGNED
  to be run LIKE this:
 
  #!/bin/sh
 
  # run ssh agent and take it's stdout and EVALUATE it - modifying the shell
  # environment
  eval `ssh-agent`
  # run enlightenment - it now inherits the shell environment. anything
  # enlightenment runs will also inherit this environment - which contains
  # the ssh-agent environment variables
  exec enlightenment
 
  The problem is ssh-agent is designed to modify a shell - e's environment
  CANNOT be modified by another program - NO process' environment can be
  modified by another process. a child process inherits the environment of
  its parent. the ONLY reason this works is ssh-agent is designed to print
  out shell commands which as above you tell the shell to READ the stdout
  from ss-agent and then interpret those commands - the shell changes its
  OWN environment. ssh-agent never does.
 
  
  This explain everything. Thank you.
  
  ---
  I tryed to add it to my .xsession but don't get it to work... even worse
  I break everything and e17 don't get to start.
 
  
  So I just have to add eval in .xsession... one day I will understand all
  the tricky part of the shell. I will have to redesing lot of my shell
  script at work, it will simplify the understanding.
  
 It look like I have a shell trouble 'cause this .xsession script didn't
 run as expected.
 
 #!/bin/sh
 eval 'ssh-agent'
 eval 'dbus-launch --sh-syntax --exit-with-session'
 exec enlightenment

you are using forward-single-quotes. you need to use BACKWARDs single quotes -
see my email and examples closely.

 
 Nor SSH and DBus get propagetted to enlightenment. I will try to
 understand this. Thank you all for your help.
 
 LMA1980
 
 -
 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=lnkkid=120709bid=263057dat=121642
 ___
 enlightenment-users mailing list
 enlightenment-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-users
 


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)

-
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=lnkkid=120709bid=263057dat=121642
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Re: [e-users] I try to use ssh-agent but nogood

2006-08-25 Thread Landry, Marc-Andre
Morten Nilsen wrote:
 Landry, Marc-Andre wrote:
 Morten Nilsen wrote:
 entrance starts ssh-agent for me..
 Did you add to edit anything : like entrance_config.cfg.
 
 nope
 
What distro do you use? On Gentoo I don't see such a feature!

-
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=lnkkid=120709bid=263057dat=121642
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] I try to use ssh-agent but nogood

2006-08-25 Thread Landry, Marc-Andre
Carsten Haitzler (The Rasterman) wrote:
 
 maybe you should make the eap do:
 
 xterm -e gdb ssh-agent
 
 and trace it (maybe compile ssh-agent so you have debugging symbols).?
 
I tried tracing it but ssh-agent don't bug... It just didn't propagate
is value to enlightenment env vars if I put it in the startup sequence
of enlightenment :
---
 ~ $ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-WDGQeG3680/agent.3680; export SSH_AUTH_SOCK;
SSH_AGENT_PID=3681; export SSH_AGENT_PID;
echo Agent pid 3681;
---
my .order file for startup  resulting ps xf
---
 ~ $ ps xf
  PID TTY  STAT   TIME COMMAND
28528 ?S  0:03 /usr/bin/enlightenment-0.17
28649 ?Ss 0:00  \_ xscreensaver
28663 ?Ss 0:00  \_ /bin/bash /usr/libexec/mozilla-launcher
28699 ?Sl 0:03  |   \_
/usr/lib/mozilla-thunderbird/thunderbird-bin
28668 ?Ss 0:01  \_ gaim
28724 ?S  0:00  |   \_ gaim
28725 ?S  0:00  |   \_ gaim
28924 ?Ss 0:00  \_ xterm -rv -bc
28926 pts/0Ss 0:00  \_ bash
29021 pts/0R+ 0:00  \_ ps xf
28713 ?S  0:00 /usr/libexec/gconfd-2 24
28681 ?Ss 0:00 ssh-agent
28629 ?S  0:00 dbus-launch --exit-with-session
/usr/bin/enlightenmen
28628 ?Ss 0:00 dbus-daemon --fork --print-pid 8
--print-address 6 --
 ~ $ cat .e/e/applications/startup/.order
xscreensaver.eap
thunderbird.eap
gaim.eap
ssh-agent.eap
---
In the ps xf output you could see that xscreensaver attach to PPID of
e17 but not ssh-agent. Should I try to do not fork? And did somebody may
explain me why I don't see his env value that it shall initialized?


---
I tryed to add it to my .xsession but don't get it to work... even worse
I break everything and e17 don't get to start.

-
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=lnkkid=120709bid=263057dat=121642
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] I try to use ssh-agent but nogood

2006-08-25 Thread Morten Nilsen
Landry, Marc-Andre wrote:
 Morten Nilsen wrote:
 Landry, Marc-Andre wrote:
 Morten Nilsen wrote:
 entrance starts ssh-agent for me..
 Did you add to edit anything : like entrance_config.cfg.
 nope

 What distro do you use? On Gentoo I don't see such a feature!

Trustix.. the entrance and e17 stuff is in contrib, built by me..

-- 
Cheers,
Morten
:wq

-
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=lnkkid=120709bid=263057dat=121642
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] I try to use ssh-agent but nogood

2006-08-25 Thread The Rasterman
On Fri, 25 Aug 2006 16:34:42 -0400 Landry, Marc-Andre [EMAIL PROTECTED]
babbled:

 Carsten Haitzler (The Rasterman) wrote:
  
  maybe you should make the eap do:
  
  xterm -e gdb ssh-agent
  
  and trace it (maybe compile ssh-agent so you have debugging symbols).?
  
 I tried tracing it but ssh-agent don't bug... It just didn't propagate
 is value to enlightenment env vars if I put it in the startup sequence
 of enlightenment :
 ---
  ~ $ ssh-agent
 SSH_AUTH_SOCK=/tmp/ssh-WDGQeG3680/agent.3680; export SSH_AUTH_SOCK;
 SSH_AGENT_PID=3681; export SSH_AGENT_PID;
 echo Agent pid 3681;
 ---
 my .order file for startup  resulting ps xf
 ---
  ~ $ ps xf
   PID TTY  STAT   TIME COMMAND
 28528 ?S  0:03 /usr/bin/enlightenment-0.17
 28649 ?Ss 0:00  \_ xscreensaver
 28663 ?Ss 0:00  \_ /bin/bash /usr/libexec/mozilla-launcher
 28699 ?Sl 0:03  |   \_
 /usr/lib/mozilla-thunderbird/thunderbird-bin
 28668 ?Ss 0:01  \_ gaim
 28724 ?S  0:00  |   \_ gaim
 28725 ?S  0:00  |   \_ gaim
 28924 ?Ss 0:00  \_ xterm -rv -bc
 28926 pts/0Ss 0:00  \_ bash
 29021 pts/0R+ 0:00  \_ ps xf
 28713 ?S  0:00 /usr/libexec/gconfd-2 24
 28681 ?Ss 0:00 ssh-agent
 28629 ?S  0:00 dbus-launch --exit-with-session
 /usr/bin/enlightenmen
 28628 ?Ss 0:00 dbus-daemon --fork --print-pid 8
 --print-address 6 --
  ~ $ cat .e/e/applications/startup/.order
 xscreensaver.eap
 thunderbird.eap
 gaim.eap
 ssh-agent.eap
 ---
 In the ps xf output you could see that xscreensaver attach to PPID of
 e17 but not ssh-agent. Should I try to do not fork? And did somebody may
 explain me why I don't see his env value that it shall initialized?

of COURSE you don't see the ssh agent environment. ssh-agent is DESIGNED to be
run LIKE this:

#!/bin/sh

# run ssh agent and take it's stdout and EVALUATE it - modifying the shell
# environment
eval `ssh-agent`
# run enlightenment - it now inherits the shell environment. anything
# enlightenment runs will also inherit this environment - which contains the
# ssh-agent environment variables
exec enlightenment

The problem is ssh-agent is designed to modify a shell - e's environment CANNOT
be modified by another program - NO process' environment can be modified by
another process. a child process inherits the environment of its parent. the
ONLY reason this works is ssh-agent is designed to print out shell commands
which as above you tell the shell to READ the stdout from ss-agent and then
interpret those commands - the shell changes its OWN environment. ssh-agent
never does.

 
 ---
 I tryed to add it to my .xsession but don't get it to work... even worse
 I break everything and e17 don't get to start.
 
 -
 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=lnkkid=120709bid=263057dat=121642
 ___
 enlightenment-users mailing list
 enlightenment-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-users
 


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)

-
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=lnkkid=120709bid=263057dat=121642
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


[e-users] I try to use ssh-agent but nogood

2006-08-24 Thread Landry, Marc-Andre
Hello,
I try to activate ssh-agent under E17. I began by building an eap
ssh-agent.eap that execute ssh-agent with tested value. The problem is
that is I try to add it in .e/e/application/startup or
.e/e/application/restart .order file and then running
enlightenment_eap_cache_gen .e/e/application. Even if I exit or just
restart ssh-agent won't stay connected to enlightenment-0.17 and so I
don't get it to work in every shell or even between shell.

Their must be some way else using pam_ssh module as a login module.

Regards,
LMA1980

-
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=lnkkid=120709bid=263057dat=121642
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] I try to use ssh-agent but nogood

2006-08-24 Thread Hisham Mardam Bey
On 8/24/06, Landry, Marc-Andre [EMAIL PROTECTED] wrote:
 Hello,
 I try to activate ssh-agent under E17. I began by building an eap
 ssh-agent.eap that execute ssh-agent with tested value. The problem is
 that is I try to add it in .e/e/application/startup or
 .e/e/application/restart .order file and then running
 enlightenment_eap_cache_gen .e/e/application. Even if I exit or just
 restart ssh-agent won't stay connected to enlightenment-0.17 and so I
 don't get it to work in every shell or even between shell.

 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.

-- 
Hisham Mardam Bey
MSc (Computer Science)
http://hisham.cc/
+9613609386
Codito Ergo Sum (I Code Therefore I Am)

-
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=lnkkid=120709bid=263057dat=121642
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] I try to use ssh-agent but nogood

2006-08-24 Thread Toby Cubitt
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=lnkkid=120709bid=263057dat=121642
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] I try to use ssh-agent but nogood

2006-08-24 Thread Morten Nilsen
Landry, Marc-Andre wrote:
 I try to activate ssh-agent under E17

entrance starts ssh-agent for me..

-- 
Morten
:wq

-
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=lnkkid=120709bid=263057dat=121642
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] I try to use ssh-agent but nogood

2006-08-24 Thread Landry, Marc-Andre
Morten Nilsen wrote:
 
 entrance starts ssh-agent for me..
 

Did you add to edit anything : like entrance_config.cfg.

Hisham Mardam Bey wrote:
 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 have think about it. I will give a try. I just have to add ssh-agent
into it and parameters and it shall work.

But this make me think about the fack that I could start xscreensaver
without trouble by putting it in a xscrnsvr.eap (which call
xscreensaver) and let it running all the session. Why it doesn't do the
same for ssh-agent as my PPID is E17 and not some shell terminal? It
does start but it stop itself right after. Like if something missing.

Toby Cubitt wrote:

 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).

Good solution, I also think about it but don't like the fact that I
often leave my session unlock for a while. I don't like the idea that
keychain won't ask me again my passphrase. I will look at it as it
something I always like in MacOS 7 in my young days.

Thank you for all the solution all,
LMA1980


-
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=lnkkid=120709bid=263057dat=121642
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] I try to use ssh-agent but nogood

2006-08-24 Thread Morten Nilsen
Landry, Marc-Andre wrote:
 Morten Nilsen wrote:
 entrance starts ssh-agent for me..
 
 Did you add to edit anything : like entrance_config.cfg.

nope

-- 
Morten
:wq

-
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=lnkkid=120709bid=263057dat=121642
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users