Mysterious SSH2 password's problem

Unanswered Question
Feb 7th, 2010
User Badges:

/* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin-top:0cm; mso-para-margin-right:0cm; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0cm; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;}

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
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Collin Clark Wed, 02/10/2010 - 12:43
User Badges:
  • Purple, 4500 points or more

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.


This Discussion