Creare un utente, dargli come shell rssh
Creare il gruppo sftponly
/usr/bin/rssh in /etc/shells
Subsystem sftp internal-sftp
Match Group sftponly
ChrootDirectory %h ForceCommand internal-sftp AllowTcpForwarding no
chroot root:root: /home/utente
Creare un utente, dargli come shell rssh
Creare il gruppo sftponly
/usr/bin/rssh in /etc/shells
Subsystem sftp internal-sftp
Match Group sftponly
ChrootDirectory %h ForceCommand internal-sftp AllowTcpForwarding no
chroot root:root: /home/utente