# config t
# ip domain-name (something.local)
# username (username) privilege 15 secret (password)
# crypto key generate rsa modulus 1024
# line vty 0 15
# login local
# exit
# enable secret (password)
# line vty 0 15
# login local
# transport input ssh
# exit
# ip ssh ver 2
(make sure to save)
Set up a SSH server on a Cisco switch