This commit is contained in:
darkclip 2024-01-25 16:53:54 +08:00
parent 679707d280
commit f8ff038ea1

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