Configuring SSH Using An Username & Password: Khawar Butt Ccie # 12353 (R/S, Security, SP, DC, Voice, Storage & Ccde)
Configuring SSH Using An Username & Password: Khawar Butt Ccie # 12353 (R/S, Security, SP, DC, Voice, Storage & Ccde)
c
Lab Diagram
PC PC
Switch Switch
c
192.168.1.0/24 192.168.2.0/24
Ethernet 0/0 Ethernet 0/0
Serial 1/0 Serial 1/0
Console R1 192.168.12.0/24 R2
MGMT
PC
Configuring Username based SSH
In order secure the transmission between the Router and the Admin device,
we can use SSH instead of Telnet.
c
SSH allows us to encrypt the transmission.
SSH requires you to generate an encryption key. The encryption key requires a
Full Qualified Domain Name, i.e., the hostname and domain name
combination. This requires that the router be set with a domain name as well.
Once the key is generated, SSH can be enabled under the VTY Ports.
Configuring SSH Authentication
We are going to use the authentication database from the previous lab. Configure a Domain name
“abc.com”, on both routers.
Generate an encryption key using a key size of 1024.
Enable SSH and Telnet for the VTY lines.
c
R1 R2
You should be at the User Exec Mode “>”. This is the default mode for Remote Management.
You will be prompted for a password. This is the enable password. This is required to be set for Remote
management. Type cisco111 as the enable password. You Should be at the Privilege Exec Mode “#”.
You can manage the router as if you were connected directly to the console.
Whiteboard