Security

line vty 0 4

Configure the five VTY (telnet/SSH) lines.

Works on: Router, Firewall, Switch, Access pointMode: config
Watch out

Enforced when another device telnets or sshes in: 'password' + 'login', or 'login local', decide who gets in and 'transport input' which protocol. The console you open on the canvas never asks, so you can't lock yourself out. An access point accepts no telnet/ssh in this lab.

Run this command live

Don't just read it — type line vty 0 4 in a real network simulator in your browser and watch it take effect. No install, no account needed to start.

Open the lab

Frequently asked

What does the "line vty 0 4" command do?

Configure the five VTY (telnet/SSH) lines.

What's the common gotcha with "line vty 0 4"?

Enforced when another device telnets or sshes in: 'password' + 'login', or 'login local', decide who gets in and 'transport input' which protocol. The console you open on the canvas never asks, so you can't lock yourself out. An access point accepts no telnet/ssh in this lab.

More Security commands

← Back to the full command reference