Microsoft
Software
Hardware
Network
Question : Problem: How do I restrict SFTP users access to a specific directory?
Hello everybody!
I decided to not use FTP so I don't have to open up port 21, and use SFTP instead. It works great for me, I use my SSH login. But I want to set it up for someone else and let them only access the directory with their website, which is "/var/www/website".
So I want to add a new user, that can only access the server via SFTP, and when they log in using an SFTP client, they go straight to that directory and can only go into its subdirectories, not the parent directories.
thanks
Answer : Problem: How do I restrict SFTP users access to a specific directory?
I use rssh in a chroot env.
1.
http://www.cyberciti.biz/t
ips/rhel-c
entos-linu
x-install-
configure-
rssh-shell
.html
2.
http://www.cyberciti.biz/t
ips/linux-
unix-restr
ict-shell-
access-wit
h-rssh.htm
l
3.
http://www.cyberciti.biz/t
ips/howto-
linux-unix
-rssh-chro
ot-
jail-se
tup.html
4.
http://www.cyberciti.biz/t
ips/linux-
unix-confi
guration-f
or-
rssh.ht
ml
I would read though them all first. Let me know if you run in to any problems, I did the same thing 2 days ago.
Random Solutions
Problem: as if keyboard 'm' key stuck down?
Problem: computer does not recognise full capacity of hard disk
Problem: Virtual Server 2005 guest will not receive traffic from host
Problem: Sync Palm-Yahoo-Outlook
Problem: Avaya IP Phones, Astaro Security Gateway 220, and a netgear fvs338 for IP Phone VPN
Problem: HP Digital Sender 9100c - Hard disk clone
Problem: ghosting Window 2003 on HP DL380
Problem: problems w/uShare 5.x and AppleShare client 3.7.4+
Problem: 500GB drives on ASUSrock 775i65G motherboard
Problem: Where can I find a diagnostics software to test the modem? I am not interested on speed test, but rather on basic equipment functional status.