cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1431
Views
2
Helpful
7
Replies

C2960x SSH login

jeffhighower
Level 1
Level 1

using Putty to SSH into C2960x switch. I keep getting an Access denied after entering a password. 

 

Where is the config can you access password settings? I have tried entering everything shown in config as a password(username/password, vty, etc but no luck.

 

thanks for help

7 Replies 7

Hello, 

 First you need to know which authentication method does the switch use:  Local user or TACACS. 

If local user, you need to have the proper username and password configured. If TACACS, you need to have the switch properly added to a TACACS server and you need to have a valid user on the network. 

You can setup a new user via console cable by issuing the command

username <user> password <password>

 

debug ip ssh <<- can you share the debug output 

when i entered the debug cimmand this is the only output i received.

 

MCHMS-2960xNorth>
MCHMS-2960xNorth>en
Password:
MCHMS-2960xNorth#debug ip ssh
Incoming SSH debugging is on
MCHMS-2960xNorth#

 

thanks for the help

jeffhighower
Level 1
Level 1

when i added the username admin password command at the config t prompt this is what i got back

 

MCHMS-2960xNorth(config)#username admin password pw4chisd
WARNING: Command has been added to the configuration using a type 0 password. However, type 0 passwords will soon be deprecated. Migrate to a supported password type
MCHMS-2960xNorth(config)#
Mar 17 15:51:25.028: %AAAA-4-CLI_DEPRECATED: WARNING: Command has been added to the configuration using a type 0 password. However, type 0 passwords will soon be deprecated. Migrate to a supported password type

 

I will go the the debug ip ssh and add the info for it.

 

thank you

Thanks waiting your debug 

This is just a warning and should not be  a problem.  You can use this command instead

 username admin  password 7  pw4chisd

 

Re the error message you sent this is for entering an encrypted password. I think that is needed is the below command; This will convert your non-encrypted type 0 password to type 7.

service password-encryption