Centos - Restrict sshd to only tunneling

Discussion in 'Server Operation' started by wuhaa, Feb 11, 2009.

  1. wuhaa

    wuhaa New Member


    I'm new to the whole tunneling thing...

    I am putting together a centos box that I want to allow users to tunnel through to surf the Internet. I want to disable everything else (shell access, ability to view other users and the file system etc...).

    I searched on google and found a few suggestions of using a jail and using rssh.

    My question is that what is the simplest way to set this up? I have no experience in chrooting a service to a restricted directory. Maybe someone knows a way to set sshd up so that it deny the ability to use the shell, and just creates a tunnel.

    If someone can point me into the right direction or some how-to's, I would greatly appreciate.

    Thank you,

Share This Page