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


Click here to return to the '10.7: Removing a Delay in SSH commands to some hosts' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.7: Removing a Delay in SSH commands to some hosts
Authored by: keith_rollin on Oct 25, '11 04:57:30PM
Thankfully, my new SSH connections don't suffer the problem described above. But I did find that I could largely eliminate the (already smallish) delay on subsequent connections to the same server by using the following:
HOST *
        CONTROLMASTER auto
        CONTROLPATH /tmp/ssh-%r@%h:%p
Those options allow the re-use of a single connection for multiple sessions. You can learn more about them in `man ssh_config`.

[ Reply to This | # ]