1 2 3 4 | cd /mnt # or where you are preparing the chroot dir mount -t proc proc proc/ mount -t sysfs sys sys/ mount -o bind /dev dev/ |
Source: http://superuser.com/a/417004/316130…
1 2 3 4 | cd /mnt # or where you are preparing the chroot dir mount -t proc proc proc/ mount -t sysfs sys sys/ mount -o bind /dev dev/ |
Source: http://superuser.com/a/417004/316130…
1 2 3 4 5 6 7 8 9 | #Subsystem sftp /usr/lib/openssh/sftp-server UsePAM yes Subsystem sftp internal-sftp Match Group sftp ChrootDirectory %h/srv ForceCommand internal-sftp AllowTcpForwarding no |
…