update go1.16 and ssh
This commit is contained in:
parent
1940e9e321
commit
e1a40570bf
2 changed files with 8 additions and 6 deletions
|
|
@ -16,8 +16,8 @@ bootstrap="${install_dir}/bootstrap-${v14}"
|
||||||
tgz14="${v14}.tar.gz"
|
tgz14="${v14}.tar.gz"
|
||||||
path_v14="${install_dir}/${tgz14}"
|
path_v14="${install_dir}/${tgz14}"
|
||||||
|
|
||||||
new="go1.15"
|
new="go1.16"
|
||||||
new_sum="c8c1ab245204259a69d3f7ee8b58b4d0294f9b36a86b60dc686d3afa889c30b7"
|
new_sum="c03fb668e02d20bf56f19fbcfd1748ac8c225868c32912acbd0607130d44e4e4"
|
||||||
tgznew="${new}.tar.gz"
|
tgznew="${new}.tar.gz"
|
||||||
path_new="${install_dir}/${tgznew}"
|
path_new="${install_dir}/${tgznew}"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -45,14 +45,16 @@ echo "writing ssh config"
|
||||||
cat <<EOF> ${ssh_config}
|
cat <<EOF> ${ssh_config}
|
||||||
HostKey /etc/ssh/ssh_host_ed25519_key
|
HostKey /etc/ssh/ssh_host_ed25519_key
|
||||||
HostKey /etc/ssh/ssh_host_rsa_key
|
HostKey /etc/ssh/ssh_host_rsa_key
|
||||||
KexAlgorithms curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256
|
KexAlgorithms curve25519-sha256,curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256
|
||||||
Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr
|
Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com
|
||||||
MACs umac-128-etm@openssh.com,umac-64-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com
|
MACs umac-128-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com
|
||||||
PermitRootLogin no
|
PermitRootLogin no
|
||||||
ChallengeResponseAuthentication no
|
ChallengeResponseAuthentication no
|
||||||
PasswordAuthentication no
|
PasswordAuthentication no
|
||||||
Subsystem sftp internal-sftp
|
HostbasedAuthentication no
|
||||||
|
KerberosAuthentication no
|
||||||
PrintMotd no
|
PrintMotd no
|
||||||
|
Subsystem sftp internal-sftp
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
[ "${UNAME}" = "Linux" ] && cat <<EOF>> ${ssh_config}
|
[ "${UNAME}" = "Linux" ] && cat <<EOF>> ${ssh_config}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue