SSHクライアントは、Windowsの時は Tera Term を使ってましたが、macOS では 標準のターミナルソフトとiTerm2を使用しています 標準ターミナル・iTerm2を使用していて少し長めに離席したりして、操作をしない時間があると「Write failed: Broken pipe」や「packet_write_wait: Connection〜〜」のエラーがでて接続切れることがあります Write failed: Broken pipe packet_write_wait: Connection to xxx.xxx.xxx.xxx port xx: Broken pipe 標準のターミナルソフトの対策 keepAliveの設定を変更すると解消する場合があるので、ssh/configを以下のように設定しました 設定自体は、「~/.ssh/config」に ServerAl
![【macOS】 SSH セッション切れ対策(Write failed: Broken pipe, packet_write_wait: Connection 防止) | ex1-lab](https://cdn-ak-scissors.b.st-hatena.com/image/square/c4d8de1c06ffc44cde830129feee6720cb70e21b/height=288;version=1;width=512/https%3A%2F%2Fex1.m-yabe.com%2Fwp-content%2Fuploads%2F2018%2F08%2Fmacos_mojave_logo.jpg)