Cisco allow local users to login via SSH

In order for you to be able to SSH into a Cisco managed switch, you need to configure it in the line VTY (Virtual Terminal)

in order to do so login to your switch via the console go to the privileged exec mode (enable)

Open the config terminal.

conf t

In the config terminal go inside the line vty 0 4

line vty 0 4

in the line vty add the following lines

 transport input ssh
 login local
 exec-timeout 10

Explanations

transport input ssh – Allows SSH traffic
login local – Tells the device to use the local user database
exec-timeout 10 – Closes the connection after 10 minutes inactivity

Scroll to Top