/ 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.
And in the days of these kings shall the God of heaven set up a kingdom, which shall never be destroyed: and the kingdom shall not be left to other people, [but] it shall break in pieces and consume all these kingdoms, and it shall stand for ever. Forasmuch as thou sawest that the stone was cut out of the mountain without hands, and that it brake in pieces the iron, the brass, the clay, the silver, and the gold; the great God hath made known to the king what shall come to pass hereafter: and the dream [is] certain, and the interpretation thereof sure.

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