Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 394 Bytes

sftp.md

File metadata and controls

14 lines (11 loc) · 394 Bytes

#Config for sftp user in group sftp

sudo nano /etc/ssh/sshd_config

# override default of no subsystems
Subsystem       sftp    /usr/lib/openssh/sftp-server

# Example of overriding settings on a per-user basis
Match Group sftp
        ChrootDirectory /ftpusers/HomeFolder/
        X11Forwarding no
        AllowTcpForwarding no
        PermitTTY no
        ForceCommand internal-sftp