Skip to content

Commit 01f991a

Browse files
aeszeripath
andauthored
Update sshd_config (#13143)
Afaik, adding these lines does nothing unless the file(s) are present. Having them in let's admins supply certs instead of relying on TOFU. Co-authored-by: zeripath <[email protected]>
1 parent 36e41d4 commit 01f991a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docker/root/etc/templates/sshd_config

+4
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,13 @@ ListenAddress ::
88
LogLevel INFO
99

1010
HostKey /data/ssh/ssh_host_ed25519_key
11+
HostCertificate /data/ssh/ssh_host_ed25519_cert
1112
HostKey /data/ssh/ssh_host_rsa_key
13+
HostCertificate /data/ssh/ssh_host_rsa_cert
1214
HostKey /data/ssh/ssh_host_ecdsa_key
15+
HostCertificate /data/ssh/ssh_host_ecdsa_cert
1316
HostKey /data/ssh/ssh_host_dsa_key
17+
HostCertificate /data/ssh/ssh_host_dsa_cert
1418

1519
AuthorizedKeysFile .ssh/authorized_keys
1620
AuthorizedPrincipalsFile .ssh/authorized_principals

0 commit comments

Comments
 (0)