Setting Up SSH On A Cisco Switch

Categories Cisco

Create a username with proper credentials. Enable ssh on VTY Lines 0 – 4. Setup a domain and generate a crypto key. Then save the configuration.

conf t
username lab pass lab
username lab priv 15

line vty 0 4
login local
transport input all

ip domain-name ge.local
crypto key gene rsa


Create an IP address for management if the device not have a physical management port:

vlan 1
ip add

Verify the management interface is up:

Verify SSH access from remote device:

SSH to Cisco Switch