03-17-2023 08:01 AM
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
03-17-2023 08:09 AM
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>
03-17-2023 08:52 AM
debug ip ssh <<- can you share the debug output
03-17-2023 09:34 AM
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
03-17-2023 09:10 AM
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
03-17-2023 09:29 AM
Thanks waiting your debug
03-17-2023 01:05 PM
This is just a warning and should not be a problem. You can use this command instead
username admin password 7 pw4chisd
02-07-2024 03:01 AM
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
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