To enable SSH on a Cisco 2960 (or later) switch, the switch must be using a version of the IOS software with encryption capabilities
Use the show version command on the switch to see which IOS the switch is currently running
An IOS filename that includes the combination “k9” supports encryption