mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-29 14:49:31 +01:00
sshd_config: verbose logging of sftp
This commit is contained in:
parent
8d55bc53db
commit
a0352630fd
@ -52,18 +52,19 @@ Port 22
|
|||||||
ListenAddress 0.0.0.0
|
ListenAddress 0.0.0.0
|
||||||
ListenAddress ::
|
ListenAddress ::
|
||||||
|
|
||||||
# Use the internal SFTP to avoid having to find the external one.
|
# Use the internal SFTP to avoid having to find the external one. VERBOSE
|
||||||
Subsystem sftp internal-sftp
|
# logs transactions that sftp-server performs on behalf of the client.
|
||||||
|
Subsystem sftp internal-sftp -l VERBOSE
|
||||||
# If you wish to use the external one, uncomment the appropiate one
|
# If you wish to use the external one, uncomment the appropiate one
|
||||||
# for your OS or find it somewhere.
|
# for your OS or find it somewhere.
|
||||||
## Arch
|
## Arch
|
||||||
#Subsystem sftp /usr/lib/ssh/sftp-server
|
#Subsystem sftp /usr/lib/ssh/sftp-server -l VERBOSE
|
||||||
## Debian
|
## Debian
|
||||||
#Subsystem sftp /usr/lib/openssh/sftp-server
|
#Subsystem sftp /usr/lib/openssh/sftp-server -l VERBOSE
|
||||||
## Fedora (21)
|
## Fedora (21)
|
||||||
#Subsystem sftp /usr/libexec/openssh/sftp-server
|
#Subsystem sftp /usr/libexec/openssh/sftp-server -l VERBOSE
|
||||||
## Gentoo (/usr/lib is a symlink)
|
## Gentoo (/usr/lib is a symlink)
|
||||||
#Subsystem sftp /usr/lib/misc/sftp-server
|
#Subsystem sftp /usr/lib/misc/sftp-server -l VERBOSE
|
||||||
|
|
||||||
# VERBOSE logging, logs user's key fingerprint on login. Needed to have a
|
# VERBOSE logging, logs user's key fingerprint on login. Needed to have a
|
||||||
# clear audit track of which key was using to log in.
|
# clear audit track of which key was using to log in.
|
||||||
|
Loading…
Reference in New Issue
Block a user