mikerayner

Well-Known Member
Apr 10, 2002
188
0
316
[quote:2e95d26a34][i:2e95d26a34]Originally posted by cosmin[/i:2e95d26a34]

I want to remove the commands like: cd - dir - ls etc etc

And how can I do the same in mc?[/quote:2e95d26a34]
by restricting ls, cd, mkdir,and etc... why do you want to offer SSH?

without those commands SSH is not required nor useful.
Simply disable SSH access to your clients
 

sasha

Member
Nov 5, 2002
16
3
153
If you call bash as rbash then it becomes restricted shell.

Check out man bash for details.
 

netarus

Well-Known Member
Oct 27, 2002
105
0
166
Is there a way to restrict a user to only their home directory for SSH? This way, they can't go around a browse other people's directories.
 

sneader

Well-Known Member
Aug 21, 2003
1,195
68
178
La Crosse, WI
cPanel Access Level
Root Administrator
I am also looking for the answer to this question... how do I restrict SSH so that users are kept inside their home directory?

Is the solution to enable Jailshell ?

Thanks for any help you can provide to this newbie! :)

cPanel.net Support Ticket Number:
 
Last edited: