.ssh/configに↓を追加すればOKです。
(スリープさせてしまうと切れてしまいますが。。)
.ssh/config
Host magento-dev
HostName 【ホスト名】
User 【ユーザー名】
Port 22
IdentityFile ~/.ssh/【SSHキー】
ServerAliveInterval 100 # ←追加
TCPKeepAlive yes # ←追加
More than 5 years have passed since last update.
.ssh/configに↓を追加すればOKです。
(スリープさせてしまうと切れてしまいますが。。)
Host magento-dev
HostName 【ホスト名】
User 【ユーザー名】
Port 22
IdentityFile ~/.ssh/【SSHキー】
ServerAliveInterval 100 # ←追加
TCPKeepAlive yes # ←追加
Register as a new user and use Qiita more conveniently