Labs · · 4 min read

Lab sec-06 - SSH and Disable Telnet

Lab sec-06 - SSH and Disable Telnet - PingLabz Labs article title card

SSH (Secure Shell) is the encrypted, authenticated alternative to telnet for remote device management. Telnet sends passwords in plain text - readable by anyone on the wire. SSH encrypts the entire session. This lab configures SSH version 2 on R1, generates RSA keys, and disables telnet on the vty lines so only SSH is allowed.

What you will learn

  • Generating an RSA key pair for SSH
  • Setting hostname + domain name (required for key generation)
  • Configuring ip ssh version 2 (avoid v1)
  • Restricting vty to SSH only with transport input ssh

What this lab does NOT cover

  • SSH key-based authentication (vs password) - briefly mentioned
  • AAA-controlled SSH login - that is sec-07

Topology

Download the CCNA Base Topology .yaml

3 iol-xe routers + 1 alpine + 1 ioll2-xe managed switch.

Download CCNA Base Topology

Read next

Terminal card showing a repeating CDP native VLAN mismatch log naming Ethernet0/0 native VLAN 1 against SW2 Ethernet0/0 native VLAN 99
VLANs ·

Native VLAN Mismatch: Read the CDP Log, Fix the Trunk

%CDP-4-NATIVE_VLAN_MISMATCH hands you both interfaces and both native VLANs in one line. The real damage is underneath it: untagged frames get re-homed at the trunk boundary and two VLANs quietly become one. Captured live on IOS XE 17.18.2 in CML.