Not all IOS images support SSH/crypto, check your IOS version. FYI : Newer switch IOS’s also are able to handle SSH, as well as the 6500 series switches. Objective: Configure the router for SSH Debug and show commands for troubleshooting Strengthen SSH by configuring SSHv2 Steps: 1. Hostname 2. Domain-name 3. Generate RSA keys 4. SSH timeouts
5. Local Authentication + ACL on SSH 6. Version 2 7. Additional SSH / debug / show commands 8. The QUICK N DIRTY SCRIPT 1. Configure Hostname The hostname is the name of the router, and is needed along with domain-name to create RSA keys and is used in the asymmetric encryption used with SSH.

Download Tutorial: How to configure SSH w/ Local Authentication on supported Cisco routers