01-11-2023 04:58 AM
Hey guys! So i have to configure ssh across an ether channel, everything else functions properly (ether, trunk, vlan communication.....) only ssh is having problems on switch 1 it works by:
R1:
Int g0/0.99
Encapsulation dot1q 99
Ip add 10.10.10.97 /29
Exit
Sw1:
Hostname
Ip domain-name
Crypto key generate
Line vty 0 15
Login local
Transport input ssh
User user password password
Int vlan 99
Ip add 10.10.10.98 /29
Exit
Ip default gateway 10.10.10.97 /29
Repeat the same on switch 2 except with the ip 10.10.10.99
Now this leads to ssh working on switch 1 but not working on switch 2
Can you guys help? I really cant seem to figure it out!
01-11-2023 08:26 AM
on both ends did you do the command "crypto key generate rsa 'label rsa-ssh' modulus 2048"?
you could also add in you line vty 0 15 the command transport output ssh as well if your having issues doing a switch 1 to switch 2 ssh
and just to confirm the only thing not working on switch 2 is SSH correct?
01-11-2023 09:58 AM
Hello, yes i was shortening it. Also yes the only thing not functioning is the ssh
01-11-2023 11:00 AM
is it a time out or does it say the ssh was denied by the host?
01-11-2023 09:20 AM
R1 config with subinterface, are the SW is config as trunk ??
01-11-2023 09:57 AM
Hello, yes it is
01-11-2023 11:21 AM
I run lab and test it
01-11-2023 12:08 PM - edited 01-11-2023 12:08 PM
Hello
Make sure you have ip routing disabled on Sw2 and reachability to it from the RTR,
conf t
crypto key zeroize
crypto key generate rsa label local general-keys modulus 2048
ip ssh version 2
line vty 0 4
login local
transport preferred none
transport input ssh
transport output ssh
Could you also post output the following:
sh run | in vty|ssh
sh ip ssh
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