- Got to Virtual-Server -> Edit Owner Limits
- Check "Chroot jail domain Unix user?"
Result in FileZilla:
Error: Received unexpected end-of-file from SFTP server
Error: Could not connect to server
Disabling chroot jail again restores SFTP functionality. The domain owner has "Email, FTP and SSH" allowed login type and SSH runs on a non-standard port.
Could it be that sftp is missing here: https://github.com/virtualmin/virtualmin-gpl/blob/adf910c9ff34e9b4dedce2... ?
jail_sects prior to creating the jail unfortunately doesn't help :(