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


Click here to return to the 'Another way to create quick-access SSH shortcuts' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Another way to create quick-access SSH shortcuts
Authored by: Skurfer on Oct 18, '06 10:05:32AM

A couple of reasons. known_hosts is a list of machines I've already connected to. I need a list of machines I have access to or may need to connect to some day. Also, known_hosts is machine specific, but I need the list on several machines and .hosts is safely portable.

I should also mention that my shell (tcsh) uses .hosts, /etc/hosts.equiv and others for tab completion. For example, if I type "ssh blah" or "ping blah" then start doing tab completion, it will use the list of hostnames instead of file names. With some work, I could get tcsh to understand known_hosts, but it's easier to use a bunch of files that are in the same format.



[ Reply to This | # ]