forked from JAremko/drop-in
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sshd_config
39 lines (35 loc) · 857 Bytes
/
sshd_config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Port 62222
#ListenAddress 0.0.0.0
Protocol 2
AllowTcpForwarding yes
RSAAuthentication yes
AuthorizedKeysFile /etc/ssh_keys
#SyslogFacility AUTHPRIV
ChallengeResponseAuthentication no
Compression yes
GatewayPorts yes
LogLevel VERBOSE
LoginGraceTime 50s
PermitRootLogin no
MaxAuthTries 6
MaxStartups 10
PasswordAuthentication no
PermitUserEnvironment yes
PidFile /var/run/sshd.pid
PrintLastLog yes
PrintMotd no
PubkeyAuthentication yes
StrictModes yes
#Subsystem sftp /usr/libexec/openssh/sftp-server
TCPKeepAlive no
UseDNS yes
UseLogin no
UsePrivilegeSeparation yes
X11DisplayOffset 10
X11Forwarding yes
X11UseLocalhost yes
#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
PermitTunnel yes