What to do when I ssh to username@stat.ubc.ca (aka be.stat.ubc.ca) I see error: "no matching host key type found. Their offer: ssh-rsa,ssh-dss, etc..."?

Edit the ~/.ssh/config file and include:

host stat.ubc.ca

    KexAlgorithms +diffie-hellman-group1-sha1

    HostKeyAlgorithms +ssh-rsa

 

FAQ Category