8

I can connect to my host with PuTTY. But when the PuTTY terminal asks for my password, I am not able to enter any letters.

I reinstalled putty.exe, but the results are the same.

Can anyone help me please?

0
24

If it just doesn't show anything, this is a security feature of Putty. Type in your password normally and press enter, you should get in.

Putty tries to stop people from knowing how long you password is by not showing it at all in the command prompt. This means that you might think you are unable to enter it, while in reality you are.

5
  • 2
    Also, this is not just limited to PuTTY. This is normal operation for many applications; just for future reference for anyone having trouble with a program "not recognizing keyboard input" at a password prompt. – Travis Aug 3 '09 at 17:20
  • 1
    Wow .. this is my 2nd or 3rd answer on SuperUser, and I got a Nice Answer badge. – Tyler Carter Aug 3 '09 at 19:29
  • Because it is a nice answer :) Same behaviour using standard MS telnet, which I'm guessing you've used before if you're using PuTTY – Ciaran Aug 3 '09 at 20:33
  • 7
    I actually wonder if this is related to PuTTY at all. Isn't it just the remote machine that doesn't echo the password (in whatever form)? – Arjan Oct 3 '09 at 13:47
  • @Arjan This is, in fact, a feature of Linux/Unix's PAM (pluggable authentication manager). Purely, the password entry is hidden by the remote host as you said. – juniorRubyist May 7 '18 at 6:15
0

You might want to search something called 'linux password visual feedback' on Google. It's a built-in setting that is hidden in the linux's visudo. You can enable this and it will show you the visual feedback (asterisk) when typing password.

I use this visual feedback a lot because when I need to paste my long password into the terminal, so that this visual feedback can tell me that I'm actually entered something into the terminal. This visual feedback helps some people in some cases like: "is my keyboard working when typing this password"?

The reason they hide the password field instead of putting some dummy asterisk because they thought hacker could guest 'when' you will enter a password with the visual feedback.

So enabling the above visual feedback have disadvantages where the hacker can guest 'when' you will start enter the password and 'how much character' your password is.

1
  • I tried my best to explain things that I know with the use cases. Of course I didn't read the answer given by others before commenting. I don't like answering something like giving definition. I know it already has the answer but I'm helping others to have alternative way how to overcome what they ask which no one has given. – MaXi32 Aug 5 '19 at 7:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.