sshの接続を高速化

Linux

まぁ、いろいろ説明は省きますが、こんな感じで。

gitへの接続が速くなるし、いろいろちょっと速くなった気がするし、あまり切れなくもなった気がする。

.ssh/configへ以下を設定。

Host *
    ControlMaster auto
    ControlPath ~/.ssh/mux-%r@%h:%p
    GSSAPIAuthentication no
    Compression yes
    CompressionLevel 9
    Cipher arcfour256
    ForwardAgent yes
    TCPKeepAlive               yes
    ServerAliveInterval        15
    ServerAliveCountMax        3
https://github.com/matsubo/matsu-shell-setting/blob/master/.ssh/config

コメント