cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
374
Views
0
Helpful
1
Replies

Mysterious SSH2 password's problem

tadasbalnys
Level 1
Level 1

For the last couple of days I have been trying to solve a great ssh2 mystery for my switch ws2950 (ver 12.1(22)ea13):

I put:

(config) Username tadas password cisco

But after show run I get: username tadas password 0 cisco

So the question is: why do i get password 0 cisco  ? And in fact none of my (0 cisco or just cisco) passwords works for logging into switch via ssh2. I am using Tera Term Web 3.1 Though i don't have any problem to connect via com1.

Thank you for your help.

1 Reply 1

Collin Clark
VIP Alumni
VIP Alumni

In your command, you didn't tell the router to encrypt the password. Something like this would correct that~

username tadas secret cisco

You could also enable password hashing in the config (it does not change the password, only encrypts them for config viewing) using service password-encryption

To view the password in plain text, simply remove the command and you will see the password again. For higher security, use the 1st command above.

Hope that helps.