12.5.4 Packet Tracer – Use Telnet and SSH Answers
Packet Tracer – Use Telnet and SSH (Answers Version)
Answers Note: Red font color or gray highlights indicate text that appears in the Answers copy only.
Addressing Table
Device |
Interface |
IP Address |
Subnet Mask |
HQ |
G0/0/1 |
64.100.1.1 |
255.255.255.0 |
PC0 |
NIC |
DHCP |
|
PC1 |
NIC |
DHCP |
Objectives
In this activity, you will establish a remote connection to a router using Telnet and SSH.
- Verify connectivity
- Access a remote device
Instructions
Part 1: Verify Connectivity
In this part, you will verify that the PC has IP addressing and can ping the remote router.
Step 1: Verify IP address on a PC.
- From a PC, click Desktop. Click Command Prompt.
- At the prompt, verify that the PC has an IP address from DHCP.
Question:
What command did you use to verify the IP address from DHCP?
Type your answers here.
ipconfig
Step 2: Verify connectivity to HQ.
Verify that you can ping the router HQ using the IP address listed in the Addressing Table.
Part 2: Access a Remote Device
In this part, you will attempt to establish a remote connection using Telnet and SSH.
Step 1: Telnet to HQ.
At the prompt, enter the command telnet 64.100.1.1.
Question:
Were you successful? What was the output?
Type your answers here.
No.
C:\> telnet 64.100.1.1
Trying 64.100.1.1 …Open
[Connection to 64.100.1.1 closed by foreign host]
Step 2: SSH to HQ.
The router is properly configured to not allow insecure Telnet access. You must use SSH. At the prompt, enter the command ssh -l admin 64.100.1.1. Enter the password class when prompted.
C:\> ssh -l admin 64.100.1.1
Password:
Question:
What is prompt after accessing the router successfully via SSH?
Type your answers here.
HQ#