Contribute  :  Calendar  :  Advanced Search  :  Site Statistics  :  Directory  :  Files to download  :  Links for developers  :  Privacy policy  :  Web Resources  :  Polls  
    MacOSX Guru Site Information, tips and tricks, FAQ for Mac OS X developers    
 Welcome to MacOSX Guru Site
 Sunday, February 17 2019 @ 01:35 PM UTC

Speed-up SSH connections

Unix under OS X FAQIf you have shell scripts that need to execute several SSH command to a remote host, here is how to reduce the connection time…

As long as you use OpenSSH version 4 or newer:
add to ~/.ssh/config file:

Host *
ControlMaster auto 
ControlPath /tmp/%r@%h:%p
will reduce connection time by using a local socket.
Replace * by a specific host name if you don't want to apply this to every host.

What's Related

Story Options

Speed-up SSH connections | 0 comments | Create New Account
The following comments are owned by whomever posted them. This site is not responsible for what they say.
 Copyright © 2019 MacOSX Guru Site
 All trademarks and copyrights on this page are owned by their respective owners.
Powered By Geeklog 
Created this page in 0.06 seconds