Thread: OpenSSH Chroot Issue
i have openssh configured allow user chroot'd folder owns (/var/www/mventura), however, every time filezilla tries log in, error comes saying:
connection closed server exitcode 2147483647
not connect server
however, when chroot him 1 file (/var/www) can enter mventura , operate way. while doesn't cause issues since doesn't have permission access above mventura, doesn't pose security threat. however, i'd rather not have sftp users seeing have in www folder.
here's have written in openssh_config file:
match user mventura
chrootdirectory /var/www/mventura
forcecommand internal-sftp
x11forwarding no
allowtcpforwarding no
when change chroot directory this:
chrootdirectory /var/www
works fine, doesn't log-in in /mventura folder want him to.
idea what's going on? can't find info on filezilla error on google.
post output of
ls -l /var/
and
ls -l /var/www/
chroot'd directory must owned root. /var/www is, , /var/www/mventura not.
Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] OpenSSH Chroot Issue
Ubuntu
Comments
Post a Comment