cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5118
Views
0
Helpful
5
Replies

Accessing devices with SSH-Closed by foreign host? (Packet Tracer)

aforeman506
Level 1
Level 1

I'm doing a lab in packet tracer, and I believe I followed all the instructions correctly but for some reason when it came time to type in the "telnet xxx.xxx.xxx.xxx" cmd it just gave me this message saying it was closed by a foreign host and doing nothing when it should be prompting me for a password and stuff like the lab instructions said but it's not and I'm getting frustrated. I know it sometimes likes to troll me by acting up and forcing me to close it and leave it for a day before it just decides to work suddenly despite no changes were made so I apologize if it's pulling a fast one on me again.

1 Accepted Solution

Accepted Solutions

NetworkDave
Spotlight
Spotlight

@aforeman506,

Please reference the instructions:
Part 2: Configure the Router for SSH Access
Step 7: Start an SSH session to the router.
b. You must use the –l admin option when you SSH to R1 (note this is a lower case “L” and not the number 1). This allows you to log in as user admin. When prompted, enter adminpass for the password.
ssh -l admin 192.168.1.1

The SSH command you used is incomplete. it is missing the "-l" and username "admin" parameters. As indicated in the instructions the complete command is ssh -l admin 192.168.1.1 where "-l" is a lower case letter L, not the number one (1).

----------------------------------------------------------------------------------------------------
Remember to mark helpful posts and mark the correct answer as a solution; It helps other users with similar questions.

View solution in original post