[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Jailkit-users] ssh agent forwarding difficulties

From: Olivier Sessink
Subject: Re: [Jailkit-users] ssh agent forwarding difficulties
Date: Tue, 07 Aug 2007 10:47:35 +0200
User-agent: Icedove (X11/20070607)

Valdemar Lemche wrote:
Olivier Sessink wrote:
Valdemar Lemche wrote:

It works ... well the remount part ... the forwarding part still doesnt
work. But I found out that the problem is that /usr/sbin/jk_chrootsh
doesn't pass on $SSH_AUTH_SOCK to the chroot'ed shell. Because if I just
start a shell with the the chroot'ed user, and set the SSH_AUTH_SOCK to
the agent socket in the chroot'ed enviroment. Then I do "ssh -A
address@hidden" then it works like a charm.

But I'm a bit unclear on how to wordaround this.
have you looked at the jk_chrootsh options for environment variables?


Jailkit-users mailing list

Erhm ... oops ... Well ... no ... OK adding SSH_AUTH_SOCK to my
chroot'ed user in /etc/jailkit/jk_chrootsh.ini, solved the problem. It
really works great now.

Should I write an amendment to your SSH howto about ssh agent forwarding?

yes I think that could help a lot of people.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]