cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1123
Views
0
Helpful
6
Replies

how to ssh in inter vlan

emmanuelalo209
Level 1
Level 1

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

6 Replies 6

balaji.bandi
Hall of Fame
Hall of Fame
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

 

 

BB

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

How to Ask The Cisco Community for Help

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.

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.


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

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?

 

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

 

BB

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

How to Ask The Cisco Community for Help

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.