You can also check which version of ssh is running in the switch and the rsa key, i have seen same issue in switches which are running ssh version 1.
please use following commands to change the ssh version and to generate rsa key.
!ip domain-name <...