02-17-2024 07:08 AM
hello how can i ssh in intervlan? when i do it the result is always connection timeout; remote host not responding. the example is attached
02-17-2024 07:20 AM
how can i ssh in intervlan?
connection timeout; remote host not responding - this means device not reachable or some config issue,
first ping the device before SSH, and SSH to device (check on the device logs what you see the error logs)
make sure all the devices configured SSH - example SSH config with username and password and VTY lines : use below quick fix for all SSH configuration all devices and test it : (cisco/cisco)
enable secret 5 $1$jtK0$yyHFcVM7xyelts1csVwrV/
!
username cisco privilege 15 secret 5 $1$0qFD$ZEMDi.7z1QTtF4EuPdlSY.
aaa new-model
!
aaa authorization config-commands
!
aaa session-id common
clock timezone GMT 0 0
clock summer-time BST recurring last Sun Mar 1:00 last Sun Oct 2:00
!
no ip domain-lookup
ip domain-name bb.com
ip cef
no ipv6 cef
!
ip ssh version 2
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous level 0 limit 20
stopbits 1
line aux 0
line vty 0 4
privilege level 15
password cisco
transport input ssh
transport output all
!
######### Generate SSH keys :
crypto key generate rsa
02-17-2024 10:06 PM
hello good afternoon, how can i ssh when my pc is not on the same network as my switch my pc ipv4 address is 192.168.10.10/24 my default gateway is 192.168.10 .1 my switch1 vlan address is vlan 99 - 192.168.99.10 my vlan 10 ip address is 192.168.10.0/24 when i try to ping the address of my switch (vlan99) the result is always request timeout same result when i try to ping the vlan 10 address in my sw1 , how can i fix this? sorry i'm just a beginner in cisco. I'm 2nd year college BS-information technology planning on majoring network technology that's why i trying to learn.
02-18-2024 12:28 AM
Hello
You need to fix the routing connectivity issue first before even trying to remote accessing those two switches, then as stated, ssh require to be enabled and allowed on those switches.
Share the PT file and maybe we can assist you obtaining that connectivity.
02-22-2024 04:38 AM
hello, sorry for the very late reply i was bombarded with school acts. there's no PT file but i have the PKT file that i tried to do. I can't attached it here but do you want me to email it to you?
02-18-2024 02:20 AM
Now you need to troubleshoot and providing more information here :
what device model of this switch, and what code running ?
is this switch have default gateway ? ip routing enabled ?
provide below information :
show run
show ip interface brief
show vlan
02-22-2024 04:40 AM
hello, sorry for the very late reply, i was bombarded with school acts can i email you the pkt file, it have basic configuration and ip on all vlans.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide