Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I like to setup a special ssh user which is only allowed to tunnel web traffice through my server. I do not want to make an open proxy. This brings me to my question:

Is there a "noshell" shell for linux system (I use Debian Squeeze) so the user is able to logon but can not enter any command (but not been disconnected like /usr/sbin/nologin or /bin/false does)?

It only holds the ssh connection so the tunnelling can proceed...

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

ssh -N does not require any shell. please test it with /bin/false as shell.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.