cat >> /etc/ssh/sshd_config <<EOF
KexAlgorithms +diffie-hellman-group-exchange-sha256,diffie-hellman-group1-sha1
EOF
sudo systemctl restart ssh
cat >> /etc/ssh/sshd_config <<EOF
KexAlgorithms +diffie-hellman-group-exchange-sha256,diffie-hellman-group1-sha1
EOF
sudo systemctl restart ssh