Generate the rsa keys using key length cisco and its affiliates
Packet Tracer - Configuring SSH
Device | Interface | IP Address | Subnet Mask |
---|---|---|---|
|
|
255.255.255.0 | |
255.255.255.0 |
Part 1: Secure Passwords
Part 2: Encrypt Communications
a. Using the command prompt on PC1, Telnet to S1. The user EXEC and privileged EXEC password is cisco.
Packet Tracer PC Command Line 1.0
PC>telnet 10.10.10.2
Trying 10.10.10.2 ...Open
User Access Verification
Packet Tracer - Configuring SSH
S1#copy run start
Destination filename [startup-config]?
Building configuration...
____________________________________________________________________________________
d. Verify that the passwords are encrypted.
password 7 0822455D0A16
login
S1(config)#ip domain-name netacad.pka
b. Secure keys are needed to encrypt the data. Generate the RSA keys using a 1024 key length.
Page 2 of 4 |
---|
% Generating 1024 bit RSA keys, keys will be non-exportable...[OK]
Create an SSH user and reconfigure the VTY lines for SSH-only access.
S1(config)#line vty 0 15
S1(config-line)#login local
S1(config-line)#transport input ssh
S1(config-line)#no password ciscoVerify SSH Implementation
PC>ssh -l administrator 10.10.10.2
Open
Password: (Not displayed)S1>en
Password: (Not displayed)
S1>en
Password:
S1#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
Page 4 of 4 |
---|