Have you configured SSH access on switch? You know that there are some requirements for this to work:
http://www.cisco.com/c/en/us/support/docs/security-vpn/secure-shell-ssh/4145-ssh.html
Also you have K9 IOS on your switch with cryptographic features?
HTH,
Dragan
HTH,
Dragan