M mmgenius Verified User Joined Jan 20, 2004 Messages 178 Jan 6, 2006 #1 I Like to prevent, in ssh, my users to do a "cd .." in the home directory (like /home/user) I'm using FC3 with OpenSSH.
I Like to prevent, in ssh, my users to do a "cd .." in the home directory (like /home/user) I'm using FC3 with OpenSSH.
nobaloney NoBaloney Internet Svcs - In Memoriam † Joined Jun 16, 2003 Messages 25,033 Location California Jan 6, 2006 #2 By default you can't do that. However you can find an open-source version of the sshd daemon and rewrite it to do what you want. Jeff
By default you can't do that. However you can find an open-source version of the sshd daemon and rewrite it to do what you want. Jeff
jmstacey Verified User Joined Feb 12, 2004 Messages 3,887 Location Colorado Jan 7, 2006 #3 Another option is to setup jailed ssh. I think that will accomplish the same thing. There is a beta of that, but... it is still beta: http://help.directadmin.com/item.php?id=90
Another option is to setup jailed ssh. I think that will accomplish the same thing. There is a beta of that, but... it is still beta: http://help.directadmin.com/item.php?id=90