mac上如何设置ssh不断掉,并且session保持

➜  ~ pwd
/Users/muahao
➜  ~ cat   ~/.ssh/config
Host *
    ServerAliveInterval 60
    ControlMaster auto
    ControlPath ~/.ssh/%h-%p-%r
    ControlPersist yes

posted @ 2017-10-10 17:29  苏小北1024  阅读(426)  评论(0编辑  收藏  举报