If I'm connecting to an ssh server and I noticed I made a mistake in the username, how do I cancel the session when the server is prompting me for password?
The only way I know is to press ctrl+c to kill the ssh process, is there a better way?
I don't necessarily need to cancel the session, just change the username.