Welcome, Guest
Please Login or Register.
Lost Password?
Prevent Directory Surfing of SSH Users (1 viewing)
Post Reply

TOPIC: Prevent Directory Surfing of SSH Users

#15693
nick108 (User)
Posts: 18
graphgraph
Prevent Directory Surfing of SSH Users 2008/08/14 22:51  
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.
  The administrator has disabled public write access.
#15694
pixel_paul (User)
Posts: 36
graphgraph
Re:Prevent Directory Surfing of SSH Users 2008/08/14 23:20  
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
  The administrator has disabled public write access.
#15697
nick108 (User)
Posts: 18
graphgraph
Re:Prevent Directory Surfing of SSH Users 2008/08/15 01:39  
Thanks for the pointer, Paul.

This seems to be a good howto for Debian:

http://www.howtoforge.com/chrooted_ssh_howto_debian
  The administrator has disabled public write access.
Post Reply
get the latest posts directly to your desktop

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.