Possible Duplicate:
If I typo my username when ssh-ing, is there a way to go back and change it?

When logging in using PuTTY, I sometimes use a wrong or mistyped user name. PuTTY does not let me re-enter the correct user name (contrary to what the standard linux console does), so I have to close the PuTTY window and start a new one, which is annoying.

How do I configure PuTTY or maybe the underlying ssh session so that I have to enter both user name and password if the login process fails?

marked as duplicate by Indrek, Canadian Luke, Ƭᴇcʜιᴇ007, Hennes, Karan Dec 29 '12 at 22:39

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 2
    superuser.com/questions/279917/… – Ofiris Dec 29 '12 at 16:08
  • I did not find the existing question, because I specifically searched for "putty" related questions. The existing question could be improved by re-phrasing its title. – nn4l Dec 30 '12 at 11:51
  • Suggestion @indrek: The existing question could be improved by re-phrasing its title, so that PuTTY is mentioned. It is not a ssh problem because when using a console, one can always enter CTRL-C CTRL-R which restarts the ssh command, allowing entering of the correct user name again. Easy enough. But with PuTTY, the equivalent process is several mouse clicks and key presses. – nn4l Dec 30 '12 at 12:00
  • This question has an answer that might help: superuser.com/questions/989166/… – SDsolar Sep 19 '17 at 8:58

The easiest way to do this is to right-click on the puTTY title and select 'new session'.
(Basically starting anew)

SSH window via puTTY

Just for the record, puTTY behaves the same as GNU/Linux's ssh.

When you log on via the console your try to log in locally. SSh is not used.
When you use ssh from a Linux host or via puTTY both ask again for the password, but keep the username.

PS: you can configure puTTY to store the username in the session. No need to type it, and not chance for typos.

  • Although it appears there is no fix for this problem, the feature to store the user name is useful, didn't know that. – nn4l Dec 30 '12 at 12:02

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