-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsshd_config
More file actions
32 lines (26 loc) · 656 Bytes
/
sshd_config
File metadata and controls
32 lines (26 loc) · 656 Bytes
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
Port 2222
ListenAddress 0.0.0.0
PidFile /workspace/etc/ssh/sshd.pid
HostKey /workspace/etc/ssh/ssh_host_rsa_key
HostKey /workspace/etc/ssh/ssh_host_ecdsa_key
HostKey /workspace/etc/ssh/ssh_host_ed25519_key
LoginGraceTime 1m
PermitRootLogin no
#StrictModes yes
MaxAuthTries 1
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys
PasswordAuthentication no
PermitEmptyPasswords no
#AllowAgentForwarding yes
AllowTcpForwarding yes
GatewayPorts no
X11Forwarding no
PermitTTY no
PrintMotd no
TCPKeepAlive yes
ClientAliveInterval 60
ClientAliveCountMax 3
PermitUserEnvironment no
# override default of no subsystems
Subsystem sftp internal-sftp