という人向けです
# MSYS2に特化した設定 Match Exec "uname | grep -qE '(MSYS|MINGW)'" ControlMaster no Match All # 以下、共通の設定(MSYS2は先に記載した ControlMaster が採用される) ControlPath ~/.ssh/mux/%C ControlMaster auto ControlPersist 1d