Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
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 <...