hi,

if you enable ssh agent forwarding (ssh option -A or ForwardAgent in ssh_config) your agent connection is "forwarded" to the remote host. this way you can use your ssh-agent (and smartcard in my case) to login (or mount sshfs) to another host using your private key stored in you local ssh-agent. this works with a socket created in /tmp/ssh-<somerandomstring>/agent.<pid> on the ssh server/host.

if i use a current x2goclient this socket is not created and so i cannot mount a directory from another host from within my x2gosession.

regards
heiko

On Mon, 16 May 2011 12:05:41 +0200, Oleksandr Shneyder <[email protected]> wrote:
Am 16.05.2011 11:50, schrieb Heiko Baumann:
Hello Heiko,

I don't understand what do you mean with "ssh-agent forwarding". X2Go
Client supports login using ssh-agent and you can mount
sshfs-directories from client into your X2Go session using X2Go Client.
Can you make it clear to me?

hi,

are there any plans to support ssh-agent forwarding?

regards
heiko

On Wed, 27 Apr 2011 23:31:07 +0200, Heiko Baumann <[email protected]>
wrote:
Hi Oleksandr,

thanks for the info. i tried the new version and ssh-agent login
works great. but i've also hacked my patch yesterday to support agent
forwarding. this way i can use sshfs to mount a remote directory
without password into my x2gosession.

this does not work with the new version. the changelog shows that you
now use libssh. is it possible to add this feature? would be really
useful.

thanks
heiko

On Wed, 27 Apr 2011 13:51:24 +0200, Oleksandr Shneyder
<[email protected]> wrote:
Am 22.04.2011 21:30, schrieb Heiko Baumann:
hi,

because no one cared about my request i tried to fix it by myself. attached is a patch which adds an --ssh-agent option to x2goclient. if x2goclient is called with this option it uses a running ssh-agent to
connect to the x2goserver.

btw. i dont know anything about coding C++ nor anything about
x2goclient
development. so maybe this patch does break something else or may be a
bad hack. however it works for me.

maybe the x2go devs could include it (or write a better one :)) in one
of the next releases? this would be great because i now have SSO
with my
usb token for all important tools. ssh-agent is started at logon and everything works without entering my passphrase again (ssh/scp, sshfs,
nxclient, x2goclient etc.).

regards
heiko



Hello Heiko,

there is a "Try auto login (ssh-agent or default ssh key)" option in
preferences of a X2Go-session since x2goclient-3.01-14

regards,

_______________________________________________
X2go-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/x2go-dev

_______________________________________________
X2go-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/x2go-dev

_______________________________________________
X2go-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/x2go-dev

Reply via email to