LoginSignup
0
0

More than 5 years have passed since last update.

SSH の ControlMaster について

Last updated at Posted at 2018-09-05

はじめに

ただの備忘録。
自分は SSH のコネクションプール的なものって解釈している。
Ansible 等、SSH を大量に使う場合に効果あり。

設定方法は下記のとおり。

~/.ssh/config
Host *
  ControlMaster auto
  ControlPath ~/.ssh/mux-%r@%h:%p
  ControlPersist 60

古いバージョンの OpenSSH だと使えないと思う。

仲間募集中

弊社ではエンジニアを募集中です。インフラからアプリ、ユーザサポートまで幅広く業務を行ってます。
https://www.nittsu-infosys.com/recruit/2019/index.html

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0