Jump to content

need more restricted shell then rbash


redss
 Share

Recommended Posts

I have a proxy on a linux server that I want to allow a couple people to access by letting them ssh into my box with port forwarding on port 3128.

 

Basically I want them to use the port forwarding feature of ssh without having access to any kind of shell on my server, even rbash.

 

Is there a login shell that can be used, that will do nothing but keep the connection open while disallowing user input?

 

I thought about having their account automatically run a program that sleeps, but if the abort with ctrl-C, they get a shell prompt.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...