ServerAliveInterval的设置有关


vim ~/.ssh/config

# add

ServerAliveInterval 60