Quantcast
Viewing all articles
Browse latest Browse all 373

Comment on Implement a SFTP Service for Ubuntu/Debian With a Chroot’ed, Isolated File Directory. by Agung Prastyo W (@agung_pw)

hy ben…this is me from tweet

actually I did your tutorial, and I dont understand why my sftp user still can access the root directory. ex :

I have user ‘tamu’ on ‘sftp’ group. and here my sshd_config

Match group sftp
ChrootDirectory /homr/%u
x11Forwarding no
AllowTcpForwarding no
ForceCommand internal-sftp

I try to connect from filezilla under windows 7, I’ve got successful connect for user ‘tamu’, but when I try access previous directory, ‘tamu’ still can access it. is it normal or am I wrong ??

/home/tamu/

when I try to access root directory It still possible. how can I jail the user to be in /home/tamu directory, cant access other directory outside dir /home/tamu. even it is just home user.

please reply soon.


Viewing all articles
Browse latest Browse all 373

Trending Articles