ssh -oHostKeyAlgorithms=+ssh-rsa root@192.168.1.1
I found this online and it worked.
This is what was required of me to get into a switch:
ssh -o KexAlgorithms=diffie-hellman-group1-sha1 -o HostKeyAlgorithms=ssh-dss -oCiphers=aes256-cbc example@x.x.x.x
Encryption is not my thing so I don't know why this is happening.
Here's where I found the solution.