aboutsummaryrefslogtreecommitdiffstats
path: root/docker/root/etc/templates
diff options
context:
space:
mode:
authorXinyu Zhou <i@sourcehut.net>2022-11-03 19:49:12 +0800
committerGitHub <noreply@github.com>2022-11-03 19:49:12 +0800
commitf17edfaf5a31ea3f4e9152424b75c2c4986acbe3 (patch)
treedd32ee9f98ba780661d753ceda3f8c10121fe862 /docker/root/etc/templates
parentf8f859b8fa1d365c3d2b2f741dce82effa9c03f0 (diff)
downloadgitea-f17edfaf5a31ea3f4e9152424b75c2c4986acbe3.tar.gz
gitea-f17edfaf5a31ea3f4e9152424b75c2c4986acbe3.zip
Remove deprecated DSA host key from Docker Container (#21522)
Since OpenSSH 7.0 and greater similarly disable the ssh-dss (DSA) public key algorithm, and recommend against its use. http://www.openssh.com/legacy.html ## :warning: BREAKING :warning: This patch will remove DSA host key form OpenSSH daemon configuration file. Signed-off-by: baronbunny <its@baronbunny.cn> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'docker/root/etc/templates')
-rw-r--r--docker/root/etc/templates/sshd_config2
1 files changed, 0 insertions, 2 deletions
diff --git a/docker/root/etc/templates/sshd_config b/docker/root/etc/templates/sshd_config
index 17c2c397bb..033c434658 100644
--- a/docker/root/etc/templates/sshd_config
+++ b/docker/root/etc/templates/sshd_config
@@ -16,8 +16,6 @@ HostKey /data/ssh/ssh_host_rsa_key
${SSH_RSA_CERT}
HostKey /data/ssh/ssh_host_ecdsa_key
${SSH_ECDSA_CERT}
-HostKey /data/ssh/ssh_host_dsa_key
-${SSH_DSA_CERT}
AuthorizedKeysFile .ssh/authorized_keys
AuthorizedPrincipalsFile .ssh/authorized_principals