Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 11th February 2009, 01:17
wuhaa wuhaa is offline
Junior Member
Join Date: Feb 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Centos - Restrict sshd to only tunneling


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,
Reply With Quote
Sponsored Links


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS with Lighttpd Tipem Server Operation 6 16th June 2008 16:17
The Perfect Setup - CentOS 4.3 (64-bit) Questions Sammy HOWTO-Related Questions 3 18th March 2008 16:50
Running ISP Config Centos Server as Gateway/Router domh Installation/Configuration 1 29th January 2008 11:26
SuSE as master DNS server and Centos as slave DNS server... sthompson Server Operation 3 17th September 2006 14:24
Install ISPConfig on CentOS Server, in brief gfts Tips/Tricks/Mods 11 4th April 2006 09:29

All times are GMT +2. The time now is 15:07.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.