tdro

Another wandering soul whispering into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by cdd20.

tdro micro.thedroneely.com view
  • Markdown Plaintext Embed Permalink
  • 56/50 words 19s read

    Some SSH options are worth tweaking when directly distributing code with git to multiple remotes. ConnectTimeout and BatchMode (optionally for automation). ControlMaster enables multiplexing for session sharing via sockets.

    cfg
    ForwardX11 no
    Compression no
    ConnectTimeout 3
    ServerAliveCountMax 1
    ServerAliveInterval 10
    
    Host *
      ControlMaster auto
      ControlPersist yes
      ControlPath ~/.ssh/sockets/%r@%h-%p
    An example ~/.ssh/config or /etc/ssh/ssh_config

    %r@%h-%p translates to user@hostname-22.

    #gists