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

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?

share|improve this question

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

This question was marked as an exact duplicate of an existing question.

2… – 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
up vote 0 down vote accepted

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.

share|improve this answer
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 .