15

I'm using Putty to connect to a box using a private key file.

I'd like to type the passphrase every time, but I don't want to type "ubuntu" every time for "login as:"

How can I get putty to remember the username, but not the password?

2 Answers2

32

The option to enter a username is somewhat hidden in the Connection --> Data tab.
You can save a username in either your default profile or for a specific session.

PuTTY-auto-login username

Also of interest: the suggestions from http://dag.wiee.rs/blog/content/improving-putty-settings-on-windows (link dead; here's an archived copy)

HBruijn
  • 1,296
19

You can simply save the host or ip address field in putty as ubuntu@ipaddr.