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

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

For an introduction to the new site, click here. And see here for current known issues.

New Member

Mysterious SSH2 password's problem

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.


Re: Mysterious SSH2 password's problem

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.