/ Hathaway Weblog / SSH tip: multiple user names

Shane :: Free Software :: June 23, 2004 # SSH tip: multiple user names

Sometimes I don't get to choose the user name assigned to me on servers where I intend to log in frequently. This means that each time I log in to those servers, I have to remember to enter a special user name--until today. Today it occurred to me that I can probably add an entry to $HOME/.ssh/config that sets a different default user name for particular servers. The command man ssh_config explained how. An example config file:

Host buildbox
User shathaway

I can now type ssh buildbox instead of ssh shathaway@buildbox to connect. Since I use ssh very frequently, especially for version control, this is a nice time saver.

No further comments may be added.

Click below to fill in the scripture reference.
Your browser is not able to display the scripture fill-in program. To see it, enable Javascript or use Mozilla 1.0 or better.
O, remember, my son, and learn wisdom in thy youth; yea, learn in thy youth to keep the commandments of God.

Church: lds scriptures provident games pearls kzion shiblon film chancellor gateway cumorah byutv happiness nephi
Zope: freezope org com zen labs newbies zettai warnes
Python: home pyzine daily icanprogram
Genealogy: cyndi
Weblogs: jeffrey paul jon joel another-shane guido barry jeremy windley chrism zac
News: quakes lwn dc weather deseret zeitgeist softwarelivre
Zaurus: software developer
Tech: tango spintronics thin
Semantic: aaron sean
Reference: css rdf html4 javascript geckodom iecss emacs phrases acronyms
Reverse: advogato slashdot
Misc: gimp-savvy directory soda jokes shouldexist pdphoto