Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

SSH client sends all keystrokes to the server and the server echoes them back.

Does a terminal emulation software like PuTTY show the keystroke after the echo is received from server or as soon as the client pushes a key? I just want to know if I am correct.

share|improve this question

I'm going to say the text is displayed after the server echos it back to the terminal for the following reason -

When you login to a server, you type your username and password. The text of your username will appear, but not the password. The same applies when entering passwords for other services, such as mysql.

So it seems it is the server(or app on server) that decides what is displayed.

You can also download the source code for openssh and have a look :)

share|improve this answer
+1 for a lucid response. – user3463 Sep 20 '11 at 6:22
I think here is only relevant what you said about the other services, because I suppose the SSH password is asked for by the client. – glglgl Sep 20 '11 at 8:07

It depends on the client. As per your specific question about PuTTY, it has a option to turn local echo on or off.

enter image description here

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .