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?