If you ever had RSA errors trying to log into an older cisco switch from a newer version of openssh, you can get past it by running this
ssh \
-o KexAlgorithms=+diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1 \
-o HostKeyAlgorithms=+ssh-rsa \
-o PubkeyAcceptedAlgorithms=+ssh-rsa \
-o RequiredRSASize=1024 \
admin@192.168.170.2
Replace your IP address and user as needed, the example above it is admin and 192.168.170.2 Enjoy 🙂