cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1150
Views
0
Helpful
4
Replies

SSH Issue | Packet Tracer

Sajibu
Level 1
Level 1

Hi guys,

I've been given a small project in packet tracer to do by my college.

My assignment is to connect in SSH to every device, Switches/Routers only through Vlan10,  Vlan20 supposed to get blocked.

 

I managed to connect to every device except Router 2.

I get a message that says "Connection refused by remote host".

also I couldn't connect to Switch 4 at all, from any device as well, not to mention that I don't have a clue how to allow only vlan10 and block vlan20 to that switch.

 

I attached the file to the thread.

 

I will be grateful for some help.

Thank you!

4 Replies 4

balaji.bandi
Hall of Fame
Hall of Fame

i don thave PT to test.

 based on this error - I get a message that says "Connection refused by remote host".

 

worth check below config :

 

line con 0
logging synchronous
Login Local
no exec
line aux 0
login local
no exec
transport input all
line vty 0 4
exec-timeout 60 0
logging synchronous
no login
transport input all

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hello,

 

ZIP the Packet Tracer project file, that format (.zip) is allowed to be posted.

Thank you, I uploaded it to the post.

Hello,

 

I think you are on the right track. You need to create a standard access list for Vlan 10 and apply that to the VTY lines:

 

access-list 23 permit 192.168.10.0 0.0.0.255

!

line vty 0 4

access-class 23 in

transport input ssh

!

line vty 5 15

access-class 23 in

transport input ssh

 

The two servers on the left had the wrong default gateway (WAN IP address instead of LAN IP address). The switch (4) had no IP address, I added one in Vlan 1, plus the default gateway.

 

I added the access class and the VTY line configuration to all devices (file attached), check if everything works now.

 

I saved the project in PT version 7.3.1., so that is what you need to open the file.

Review Cisco Networking for a $25 gift card