It's hard for me to express exactly what I mean, so I'll explain it in a few steps:I'm connecting with SSH, and server ask me for login.I write login, and then it asks me for password.I realize that this login is wrong! I want to change it, but I can't go back to login...How to go back to login prompt?If it matters, I'm trying to login with Putty.
How can I change login while authenticating on SSH?
debian;ssh;login;putty
It is not possible. You will have to end this login session by Ctrl-D and start all over with a new ssh session.For your use (putty) it might be noteworthy that - if you insist on autheticiation by username/password and not using keyfiles - it still saves a little time to save a session profile for easy later use. The host name (or IP address) can be extended to include the user name thus you wouldn't need to type it again and again. The syntax is: username@hostname