Categories
Cisco General Computing

issues sshing into older cisco switches – rsa errors

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 🙂

Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x