cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
906
Views
5
Helpful
7
Replies

Ssh config across ether channel

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! 

received_837443457320071.jpeg

7 Replies 7

Bryson F
Level 1
Level 1

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? 

Hello, yes i was shortening it. Also yes the only thing not functioning is the ssh

is it a time out or does it say the ssh was denied by the host?

R1 config with subinterface, are the SW is config as trunk ??

Hello, yes it is

I run lab and test it 

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

 


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
Review Cisco Networking for a $25 gift card