forked from giovtorres/slurm-docker-cluster
-
Notifications
You must be signed in to change notification settings - Fork 1
/
sshd_config
34 lines (29 loc) · 934 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
Port 22
AddressFamily any
LoginGraceTime 60s
StrictModes yes
MaxAuthTries 6
MaxStartups 20:30:100
IgnoreUserKnownHosts yes
IgnoreRHosts yes
ClientAliveInterval 10
ClientAliveCountMax 3
AllowGroups sudo mlgod ml2018
PermitRootLogin no
PermitEmptyPasswords no
PasswordAuthentication yes
HostBasedAuthentication no
PubkeyAuthentication yes
UsePAM yes
KexAlgorithms [email protected],diffie-hellman-group-exchange-sha256
MACs [email protected],[email protected],[email protected],[email protected],hmac-sha2-512,hmac-sha2-256,hmac-ripemd160,[email protected]
AllowAgentForwarding no
AllowTcpForwarding no
AllowStreamLocalForwarding no
X11Forwarding no
PermitTTY yes
PrintMotd yes
PrintLastLog yes
TCPKeepAlive no
#Subsystem sftp /usr/lib/openssh/sftp-server