update
This commit is contained in:
parent
679707d280
commit
f8ff038ea1
4
init.sh
4
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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user