redss Posted January 26, 2006 Report Share Posted January 26, 2006 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. Quote Link to comment Share on other sites More sharing options...
paul Posted January 26, 2006 Report Share Posted January 26, 2006 disable ssh password authentication then get them to use ssh-keys then you can limit them to one command Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.