If you connect to an old IOS Catalyst you might get errors regarding unsupported Ciphers, KeyAlgorithms etc.
This will do the trick:
ssh -o KexAlgorithms=+diffie-hellman-group14-sha1 -o HostKeyAlgorithms=+ssh-rsa -o Ciphers=+aes128-cbc -l root 192.168.10.2