Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Shortcut for ssh/Terminal with multiple usernames' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Shortcut for ssh/Terminal with multiple usernames
Authored by: dergl on Nov 14, '05 07:15:37AM

Instead you could use the .shh/config -file in your home-folder.

Host fooex
  Hostname www.example.com
  User foo

Host barex
  Hostname www.example.com
  User bar

Host rootex
  Hostname www.example.com
  User root

then just type in the console:

ssh fooex
ssh barex
ssh rootex


[ Reply to This | # ]