fix: change sshd_config
This commit is contained in:
parent
164bc16e95
commit
a3d00bd238
@ -10,12 +10,18 @@ PermitRootLogin WITHOUT-PASSWORD
|
|||||||
PubkeyAuthentication yes
|
PubkeyAuthentication yes
|
||||||
AuthorizedKeysFile .ssh/authorized_keys
|
AuthorizedKeysFile .ssh/authorized_keys
|
||||||
IgnoreRhosts yes
|
IgnoreRhosts yes
|
||||||
|
MaxSessions 4
|
||||||
|
MaxAuthTries 4
|
||||||
|
ClientAliveCountMax 2
|
||||||
|
LogLevel VERBOSE
|
||||||
PasswordAuthentication no
|
PasswordAuthentication no
|
||||||
ChallengeResponseAuthentication no
|
ChallengeResponseAuthentication no
|
||||||
GSSAPIAuthentication no
|
GSSAPIAuthentication no
|
||||||
UsePAM yes
|
UsePAM yes
|
||||||
|
PrintMotd no
|
||||||
X11Forwarding no
|
X11Forwarding no
|
||||||
AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
|
AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
|
||||||
AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
|
AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
|
||||||
AcceptEnv LC_IDENTIFICATION LC_ALL LANGUAGE
|
AcceptEnv LC_IDENTIFICATION LC_ALL LANGUAGE
|
||||||
AcceptEnv XMODIFIERS
|
AcceptEnv XMODIFIERS
|
||||||
|
Subsystem sftp /usr/lib/openssh/sftp-server
|
||||||
|
Loading…
Reference in New Issue
Block a user