Frequently Asked Question
Connecting to Deprecated SSH server
Last Updated 8 years ago
1. For a one time connection use the following command string
ssh -p PORT -o HostKeyAlgorithms=ssh-rsa,ssh-dss -o KexAlgorithms=diffie-hellman-group1-sha1 -o Ciphers=aes128-cbc,3des-cbc -o MACs=hmac-md5,hmac-sha1 user@host
2. For Persistent Changes, Modify the /etc/ssh/ssh_config file and append the following lines.
HostKeyAlgorithms=ssh-rsa,ssh-dss
KexAlgorithms=diffie-hellman-group1-sha1
Ciphers=aes128-cbc,3des-cbc
MACs=hmac-md5,hmac-sha1
ssh -p PORT -o HostKeyAlgorithms=ssh-rsa,ssh-dss -o KexAlgorithms=diffie-hellman-group1-sha1 -o Ciphers=aes128-cbc,3des-cbc -o MACs=hmac-md5,hmac-sha1 user@host
2. For Persistent Changes, Modify the /etc/ssh/ssh_config file and append the following lines.
HostKeyAlgorithms=ssh-rsa,ssh-dss
KexAlgorithms=diffie-hellman-group1-sha1
Ciphers=aes128-cbc,3des-cbc
MACs=hmac-md5,hmac-sha1