cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2020
Views
0
Helpful
2
Replies

SSH/VTY Lines/AAA New-Model

pwiscott
Frequent Visitor
Frequent Visitor

Hi,

 

I have a 3560-CX-PD12 running 15.2-7 k9 and for the life of me cannot get ssh to the switch via the vty lines working.

My config is 

username "myname" password "mypassword" priviledge 15

 

aaa new-model

aaa authentication login default local
aaa authorization exec default local

 

line vty 0 15

transport input ssh

 

I have created a general crypto key (rsa)

 

I cannot figure what I'm doing wrong, any help would be appreciated (but please dont post links to Cisco documentation - I've followed those and they dont work - hence posting on here)

 

regards

 

2 Replies 2

balaji.bandi
Hall of Fame
Hall of Fame

Try below

 

 line vty 0 15
  login authentication default

BB

=====️ Preenayamo Vasudevam ️=====

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

How to Ask The Cisco Community for Help

Richard Burts
Hall of Fame
Hall of Fame

The very partial config posted looks reasonable. We might need to see the complete config. But before we do that I have a couple of things to ask:

- would you post the output of show ip ssh

- where are you initiating the ssh from?

- can you confirm that this device has ip connectivity to the 3560? (can your device ping the 3560 address)

- what happens when you attempt ssh? Do you get any type of prompt? Do you get any type of error message? Any other type of response? Or does it just hang?

HTH

Rick