Telnet
Last updated
Last updated
Telnet (Teletype Network) is a protocol used to remotely access the CLI of a remote host.
Telnet was developed in 1969.
Telnet has been largely replaced by SSH, which is more secure.
Telnet sends data in plain text. No encryption!
The Telnet server (the device being connected to) listens for Telnet traffic on TCP port 23.
enable secret ccna
-> If an enable password/secret isn't configured, you won't be able to access privileged exec mode when connecting via Telnet.
username jeremy secret ccna
access-list 1 permit host 192.168.2.1
-> Configure an ACL to limit which devices can connect to the VTY lines.
line vty 0 15
-> Telnet/SSH access is configured on the VTY lines. There are 16 lines available, so up to 16 users can be connected at once. (VTY stands for Virtual TeleType).
login local
exec-timeout 5 0
transport input ...
... telnet
-> allows only Telnet connections.
... ssh
-> allows only SSH connections.
... telnet ssh
-> allows both.
... all
-> allows all connections.
... none
-> allows no connections.
access-class 1 in
-> Apply the ACL to the VTY lines.
*access-class
applies an ACL to the VTY lines.
ip access-group
-> applies an ACL to an interface.