From e1a40570bf7ae61b614065b4ac4e43801320df96 Mon Sep 17 00:00:00 2001 From: ston1th Date: Fri, 26 Feb 2021 18:02:43 +0100 Subject: [PATCH] update go1.16 and ssh --- build-go.sh | 4 ++-- ssh-config.sh | 10 ++++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/build-go.sh b/build-go.sh index 46f2401..0433392 100755 --- a/build-go.sh +++ b/build-go.sh @@ -16,8 +16,8 @@ bootstrap="${install_dir}/bootstrap-${v14}" tgz14="${v14}.tar.gz" path_v14="${install_dir}/${tgz14}" -new="go1.15" -new_sum="c8c1ab245204259a69d3f7ee8b58b4d0294f9b36a86b60dc686d3afa889c30b7" +new="go1.16" +new_sum="c03fb668e02d20bf56f19fbcfd1748ac8c225868c32912acbd0607130d44e4e4" tgznew="${new}.tar.gz" path_new="${install_dir}/${tgznew}" diff --git a/ssh-config.sh b/ssh-config.sh index dc36bc8..4d809e3 100755 --- a/ssh-config.sh +++ b/ssh-config.sh @@ -45,14 +45,16 @@ echo "writing ssh config" cat < ${ssh_config} HostKey /etc/ssh/ssh_host_ed25519_key HostKey /etc/ssh/ssh_host_rsa_key -KexAlgorithms curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256 -Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr -MACs umac-128-etm@openssh.com,umac-64-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com +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 +MACs umac-128-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com PermitRootLogin no ChallengeResponseAuthentication no PasswordAuthentication no -Subsystem sftp internal-sftp +HostbasedAuthentication no +KerberosAuthentication no PrintMotd no +Subsystem sftp internal-sftp EOF [ "${UNAME}" = "Linux" ] && cat <> ${ssh_config}