ssh 与远程机器保持心跳(linux)

文件/etc/ssh/ssh_config末尾加上:

    TCPKeepAlive yes
    ServerAliveInterval 30 

 

posted @ 2018-10-09 10:58  jiu~  阅读(2645)  评论(0编辑  收藏  举报