Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Can get SSH workgin on switch

Hi,

I'm on a Cisco 2955 switch and need to get ssh workgin which I have done on another 2955 (but don't have near me), what am I dogin wrong?

2955-02-PJ-CamdT.LU#sh run
Building configuration...

Current configuration : 4061 bytes
!
version 12.1
no service pad
service timestamps debug datetime msec localtime
service timestamps log datetime msec localtime
service password-encryption
!
hostname 2955-02
!
logging buffered 64000 debugging
no logging console
aaa new-model
enable secret 5 $1$6eSD$eB19P9CoH6VPNejFp5/
!
username admin privilege 15 secret 5 $1$wPVm$ptIpMJbGxRlv1hwe.D.
clock timezone GMT 0
ip subnet-zero
!
no ip domain-lookup
ip domain-name SO-DGI
ip ssh time-out 120
ip ssh authentication-retries 3
ip ssh version 2
!
no file verify auto
!

(removed)


!
line con 0
line vty 0 4
transport input ssh
line vty 5 15
no exec
!
end

2955-02#

The error I get is:

login as: admin

admin@10.10.46.6's

password:

Access denied

Driving me mad, any ideas?

Everyone's tags (4)
4 REPLIES

Can get SSH workgin on switch

Andy,

You need to have aaa configured:

aaa authentication login default local

You have aaa new-model enabled, so you should just need to configure the above.

HTH,

John

HTH, John *** Please rate all useful posts ***
Purple

Can get SSH workgin on switch

  Along with John's statement make sure you have created the crypto keys also .

Purple

Can get SSH workgin on switch

Hi john,

by default the authentication method DEFAULT is applied to the line when aaa is enabled  so no need to add the command.

Regards.

Alain

Don't forget to rate helpful posts.
New Member

Can get SSH workgin on switch

Think I have this solution, I didn't know you couldn't copy and paste the secret encrypted passwords over, I copied over in clear text and it was fine!

Thanks

536
Views
0
Helpful
4
Replies