/etc/ssh/ssh_config #Legacy changes KexAlgorithms +diffie-hellman-group1-sha1 Ciphers +aes128-cbc HostkeyAlgorithms ssh-dss,ssh-rsa,rsa-sha2-512,rsa-sha2-256,ssh-ed25519 KexAlgorithms diffie-hellman-group1-sha1 sudo service ssh restart Manuals