Setting Up SSH On A Cisco Switch

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.
enable
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
2048
end
wr
Create an IP address for management if the device not have a physical management port:
vlan 1
ip add 10.0.10.24 255.255.255.0
Verify the management interface is up:

Verify SSH access from remote device:

Leave a Reply