0% found this document useful (0 votes)
758 views

4.4.8 Packet Tracer - Configure Secure Passwords and SSH

lab seguridad de redes

Uploaded by

cristian
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
758 views

4.4.8 Packet Tracer - Configure Secure Passwords and SSH

lab seguridad de redes

Uploaded by

cristian
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

Packet Tracer - Configure Secure Passwords and SSH

Intructions

Part 1: Configure Basic Security on the Router

a. Configure IP addressing on PCA according to the Addressing Table.

b. Console into RTA from the Terminal on PCA.


c. Configure the hostname as RTA.

d. Configure IP addressing on RTA and enable the interface.

e. Encrypt all plaintext passwords.

RTA(config)# service password-encryption


f. Set the minimum password length to 10.

RTA(config)# security passwords min-length 10

g. Set a strong secret password of your choosing.

Note: Choose a password that you will remember, or you will need to reset the activity if you are
locked out of the device.
h. Disable DNS lookup.

RTA(config)# no ip domain-lookup

i. Set the domain name to netsec.com (case-sensitive for scoring in PT).

RTA(config)# ip domain-name netsec.com


j. Create a user of your choosing with a strong encrypted password.

RTA(config)# username any_user secret any_password

k. Generate 1024-bit RSA keys.

Note: In Packet Tracer, enter the crypto key generate rsa command and press Enter to continue.

RTA(config)# crypto key generate rsa

The name for the keys will be: RTA.netsec.com


Choose the size of the key modulus in the range of 360 to 2048 for your

General Purpose Keys. Choosing a key modulus greater than 512 may take

a few minutes.

How many bits in the modulus [512]: 1024

l. Block anyone for three minutes who fails to log in after four attempts within a two-minute
period.

RTA(config)# login block-for 180 attempts 4 within 120


m. Configure all VTY lines for SSH access and use the local user profiles for authentication.

RTA(config)# line vty 0 4

RTA(config-line)# transport input ssh

RTA(config-line)# login local

n. Set the EXEC mode timeout to 6 minutes on the VTY lines.

RTA(config-line)# exec-timeout 6
o. Save the configuration to NVRAM.

p. Access the command prompt on the desktop of PCA to establish an SSH connection to RTA.

C:\> ssh /?

Packet Tracer PC SSH

Usage: SSH -l username target

C:\>
Part 2: Configure Basic Security on the Switch

Configure switch SW1 with corresponding security measures. Refer to the configuration steps on
the router if you need additional assistance.

a. Console into SW1 from the Terminal on PCA.

You might also like