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


Click here to return to the 'SSH to multiple boxes via tab completion' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
SSH to multiple boxes via tab completion
Authored by: abiss on Oct 14, '04 01:26:47PM

If your servers use static IPs, and that is recommanded, you can just add an entry in /etc/hosts for each of your servers.

You will then be able to use tab-completion after the @

exemple :
/etc/hosts contains :
1.2.3.4 myserver1
1.2.3.5 myserver2

type in terminal :
ssh root@ and hit tab and it will show you the list of your servers



[ Reply to This | # ]