Prevent Directory Surfing of SSH Users

3 posts / 0 new
Last post
#1 Thu, 08/14/2008 - 22:51
nick108

Prevent Directory Surfing of SSH Users

It is very nice that server owners can be allowed to have SSH access, but I don't want them to be able to climb up the directory tree.

Is there a way to prevent this? Is this OS specific or something that could be controlled by VM Pro? For FTP this is possible, but I was told it is not possible for SSH, which is not very satisfying.

Thu, 08/14/2008 - 23:20
pixel_paul
pixel_paul's picture

The only way to do it is to chroot the user. There are quite a few options available if you search for 'chroot ssh' using google...but out of the box there is nothing unfortunately :( (at least that I know of)

Paul

Fri, 08/15/2008 - 01:39 (Reply to #2)
nick108

Thanks for the pointer, Paul.

This seems to be a good howto for Debian:

http://www.howtoforge.com/chrooted_ssh_howto_debian

Topic locked