jailkit-users
[Top][All Lists]
Advanced

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

Re: [Jailkit-users] ssh agent forwarding difficulties


From: Valdemar Lemche
Subject: Re: [Jailkit-users] ssh agent forwarding difficulties
Date: Tue, 07 Aug 2007 02:44:21 +0200
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)

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?
>
> Olivier
>
>
> _______________________________________________
> Jailkit-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/jailkit-users

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?





reply via email to

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