by quoiquoi · 3y ago · 0 comments
Match Group sftponly
ForceCommand internal-sftp -l INFO -f LOCAL6
AllowTcpForwarding no
AllowAgentForwarding no
GatewayPorts no
X11Forwarding noIs there some way to specify that nothing except internal-sftp is allowed, as opposed to setting each option explicitly to "no"? The latter way seems error-prone, one is bound to miss some obscure option there.
And I wonder why do you suggest using the LOCAL6 log facility? In sftp-server, the default is AUTH...