mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-01-24 19:24:19 +01:00
sshd_config: use internal sftp & fixes
thanks again @grawity
This commit is contained in:
parent
c82b706942
commit
8d55bc53db
@ -52,10 +52,10 @@ Port 22
|
|||||||
ListenAddress 0.0.0.0
|
ListenAddress 0.0.0.0
|
||||||
ListenAddress ::
|
ListenAddress ::
|
||||||
|
|
||||||
# In cse you wish to use external SFTP subsystem, uncomment one of the
|
# Use the internal SFTP to avoid having to find the external one.
|
||||||
# following or wonder where the subsystem is.
|
Subsystem sftp internal-sftp
|
||||||
# I think it's the easiest when I don't uncomment anything as I don't use
|
# If you wish to use the external one, uncomment the appropiate one
|
||||||
# SFTP so often...
|
# for your OS or find it somewhere.
|
||||||
## Arch
|
## Arch
|
||||||
#Subsystem sftp /usr/lib/ssh/sftp-server
|
#Subsystem sftp /usr/lib/ssh/sftp-server
|
||||||
## Debian
|
## Debian
|
||||||
@ -83,13 +83,6 @@ PrintMotd no
|
|||||||
# Avoid enabling insecure protocol 1.
|
# Avoid enabling insecure protocol 1.
|
||||||
Protocol 2
|
Protocol 2
|
||||||
|
|
||||||
## Enable SFTP. As the subsystem location varies, uncomment the one for the
|
|
||||||
## OS you use.
|
|
||||||
## Arch
|
|
||||||
#Subsystem sftp /usr/lib/ssh/sftp-server
|
|
||||||
## Debian
|
|
||||||
#Subsystem sftp /usr/lib/openssh/sftp-server
|
|
||||||
|
|
||||||
# Set this to 'yes' to enable PAM authentication, account processing,
|
# Set this to 'yes' to enable PAM authentication, account processing,
|
||||||
# and session processing. If this is enabled, PAM authentication will
|
# and session processing. If this is enabled, PAM authentication will
|
||||||
# be allowed through the ChallengeResponseAuthentication and
|
# be allowed through the ChallengeResponseAuthentication and
|
||||||
|
Loading…
Reference in New Issue
Block a user