paperlined.org
apps > putty > PuttyConnectionManager
document updated 13 years ago, on Jan 11, 2011

username setting

There are several places you can specify which username you want:
  1. Putty's per-profile user (in the 'Connection > Data' section) (note that Kitty allows you to also specify the password here)
  2. PuttyCM's per-connection user (in the 'Login Macro' section)
  3. PuttyCM's per-connection custom command-line (in the 'PuTTY Session' section) — use -l myusername -pw mypassword
#1 has the problem that, any time you want to change any of your settings, you have to make the same change to EVERY profile you have. That's bad. We only want to have one main profile.

#2 has the problem that it's unreliable, and a little slower than option #3. It's unreliable because it's really a macro, which is kind of silly to use when the SSH protocol has the ability to pass the username in during initialization. Also, the way that PuttyCM's macros are implemented, is that it doesn't even WAIT for the connection to be made before it starts sending keystrokes; this means that even the login name can be lost if you get the timing incorrect.

#3 is the one I prefer to use.



Note that you can use both #1 and #3, and in this case, #3 will override #1. You can therefore use #1 for your most common username, and then use #3 for all exceptions.