Most modern switches include the ability to use SSH as a remote communications protocol. Here we will enable that functionality and disable telnet on the Dell Powerconnect 6248 switches.
Enable SSH
In order to enable SSH we need to generate the keys which will be used by SSH to encrypt the traffic.
console>enable console# configure (config)# crypto key generate rsa (config)# crypto key generate dsa (config)# ip ssh server (config)# exit console# copy running-config startup-config
Disable Telnet
Depending on your config you might not need to disable this, but if it is enabled you should disable it.
console>enable console# configure (config)# ip telnet server disable (config)# exit console# copy running-config startup-config