Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

Your Answer


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.