Difference between revisions of "Sftp chroot configuration"
Jump to navigation
Jump to search
(Created page with " #Subsystem sftp /usr/lib/openssh/sftp-server Subsystem sftp internal-sftp and create a user section at the end of the file (ssh can die respawning if placed after Subsyste...") Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 1: | Line 1: | ||
+ | * Read https://askubuntu.com/a/206376 | ||
+ | |||
#Subsystem sftp /usr/lib/openssh/sftp-server | #Subsystem sftp /usr/lib/openssh/sftp-server | ||
Line 10: | Line 12: | ||
AllowTCPForwarding no | AllowTCPForwarding no | ||
X11Forwarding no | X11Forwarding no | ||
+ | |||
+ | |||
+ | == See also == | ||
+ | * {{sftp}} |
Revision as of 16:43, 5 May 2020
#Subsystem sftp /usr/lib/openssh/sftp-server Subsystem sftp internal-sftp
and create a user section at the end of the file (ssh can die respawning if placed after Subsystem line):
Match User john ChrootDirectory %h ForceCommand internal-sftp AllowTCPForwarding no X11Forwarding no
See also
Advertising: