etc/ssh
This commit is contained in:
11
etc/ssh/sshd_config.d/sftp.conf
Normal file
11
etc/ssh/sshd_config.d/sftp.conf
Normal file
@@ -0,0 +1,11 @@
|
||||
Subsystem sftp internal-sftp
|
||||
|
||||
Match Group sftp
|
||||
PasswordAuthentication yes
|
||||
PubkeyAuthentication yes
|
||||
ForceCommand internal-sftp -u 0027
|
||||
ChrootDirectory %h
|
||||
PermitTunnel no
|
||||
AllowAgentForwarding no
|
||||
AllowTcpForwarding no
|
||||
X11Forwarding no
|
||||
Reference in New Issue
Block a user