添加 'etc/ssh/sshd_config'

This commit is contained in:
2020-12-21 10:30:34 +00:00
parent 1cde69d723
commit 076a54bdfb

26
etc/ssh/sshd_config Normal file
View File

@ -0,0 +1,26 @@
Port 46571
AddressFamily inet
Protocol 2
HostKey /etc/ssh/ssh_host_ecdsa_key
SyslogFacility AUTHPRIV
PermitRootLogin no
AuthorizedKeysFile .ssh/authorized_keys
PasswordAuthentication no
ChallengeResponseAuthentication no
GSSAPIAuthentication no
GSSAPICleanupCredentials no
GSSAPIStrictAcceptorCheck no
GSSAPIKeyExchange no
UsePAM yes
X11Forwarding yes
TCPKeepAlive yes
ClientAliveInterval 60
UseDNS no
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_IDENTIFICATION LC_ALL LANGUAGE
AcceptEnv XMODIFIERS
Subsystem sftp /usr/libexec/openssh/sftp-server
Match User kairee
PasswordAuthentication yes