Hi Andrew, Wouldn't the problem be that the socket is outside of the chroot'ed environment. I don't have much experience with ssh chrooting and port forwarding, but that would be my first thought. Regards, Charlie On 26 January 2010 at 01:05 Andrew Penhorwood <andrew@xxxxxxxxxxxx> wrote: > I have openssh 5.x installed on a CentOS 5.x box. All is working fine but I > wanted to add port forwarding to my chroot'ed users. Most users are just > using SFTP that is chrooted to their web directory. Now I need to give some > users access to MySQL over an SSH tunnel. When I added the port forwarding to > the chroot'ed users the port forwarding does not work. If I remove the chroot > the port forwarding works. > > Any pointers would be a great help. > > Andrew Penhorwood