mskenderian
Contributor
- Joined
- May 24, 2013
- Messages
- 100
I followed all the steps in http://doc.freenas.org/index.php/SSH#Chrooting_Command_Line_SFTP_Users
now i get this error message:
sshd[53961]: fatal: bad ownership or modes for chroot directory component "/mnt/"
and i cant log in via the "test" user. if i take out:
from the Services->SSH>Settings->Extra Options, i am able to log in again but it still doesnt restrict the user from browsing other directories.
Any Idea whats going on?
now i get this error message:
sshd[53961]: fatal: bad ownership or modes for chroot directory component "/mnt/"
and i cant log in via the "test" user. if i take out:
Code:
Match Group sftp ChrootDirectory %h ForceCommand internal-sftp AllowTcpForwarding no
from the Services->SSH>Settings->Extra Options, i am able to log in again but it still doesnt restrict the user from browsing other directories.
Any Idea whats going on?