On Sat, 1 Jan 2011 21:01:28 -0700
Charles Curley <[email protected]> wrote:
> If I have user name fred here, and user name barney there, I normally
> have to ssh in to there as:
>
> ssh bar...@there
>
> Is there any way to set things up so that when I do:
>
> ssh there
>
> I get logged in to there as barney?
>
Yes. In your config file, ~/.ssh/config:
host there
user barney
See, all I had to do was ask on the list and I got an answer. :-)
Thanks
--
Charles Curley /"\ ASCII Ribbon Campaign
Looking for fine software \ / Respect for open standards
and/or writing? X No HTML/RTF in email
http://www.charlescurley.com / \ No M$ Word docs in email
Key fingerprint = CE5C 6645 A45A 64E4 94C0 809C FFF6 4C48 4ECD DFDB
/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/