How to use it
- Try to connect as normal, for example
ssh admin@192.168.1.20, and copy the error. It usually looks likeno matching host key type found. Their offer: ssh-rsa,ssh-dss. - Paste it above with a short name for the device and its address.
- Copy the block into
~/.ssh/config(create the file if it doesn’t exist), then connect withssh old-switch, using your short name.
Prefer not to touch your config? Use the one-off command instead. It applies the same options to that single connection.
