This commit is contained in:
darkclip committed 2024-01-25 16:53:54 +08:00
1 parent 679707d280
commit f8ff038ea1
1 file changed
+2 -2
+2 -2
View File
@@ -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