SFTP chroot jails

in addition to what @Raphael already said, a user that has normal shell access can see/read the filesystem when logging in with a normal shell anyway, so it would not make sense (even technically) to try and make sftp/winscp behave differently :wink:

that’s why a jail only works for user which have no full shell access (aka nologin).

2 Likes