From f8ff038ea139da7be39b356a527b36ef06ed937a Mon Sep 17 00:00:00 2001 From: darkclip Date: Thu, 25 Jan 2024 16:53:54 +0800 Subject: [PATCH] update --- init.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.sh b/init.sh index e8b532e..654089c 100755 --- a/init.sh +++ b/init.sh @@ -21,8 +21,8 @@ configure(){ sed -i -r "/.*HostKeyAlgorithms.*/d" /etc/ssh/ssh_config sed -i -r "/.*PubkeyAcceptedKeyTypes.*/d" /etc/ssh/ssh_config echo " HashKnownHosts no" >> /etc/ssh/ssh_config - echo " HostKeyAlgorithms ssh-ed25519,ssh-rsa" >> /etc/ssh/ssh_config - echo " PubkeyAcceptedKeyTypes ssh-ed25519,ssh-rsa" >> /etc/ssh/ssh_config + echo " HostKeyAlgorithms ssh-ed25519,ssh-rsa,rsa-sha2-256" >> /etc/ssh/ssh_config + echo " PubkeyAcceptedKeyTypes ssh-ed25519,ssh-rsa,rsa-sha2-256" >> /etc/ssh/ssh_config mirror_site=mirrors.tuna.tsinghua.edu.cn #mirror_site=mirrors.ustc.edu.cn