用terminal做ssh連線會斷線 - MAC

Table of Contents

想請問一下

我開terminal想用ssh連到我的工作站工作

但不知道為何會一直出現 write failed broken pipe的訊息,然後就斷了

google了一下發現很多人都會這樣

但網路上的解法是去~/.ssh內新增cofig檔

然後裡面打

ServerAliveInterval 120
ServerAliveCountMax 5

但依舊法解決阿

也試過去/etc/ssh_config內新增這兩行,結果也是不行

不知道有沒有甚麼其它的方法阿!

感激不盡

--

All Comments

Catherine avatarCatherine2014-06-28
感覺是閒置然後被server端踢掉了 XD
Eartha avatarEartha2014-07-02
可是我在windows用putty連不會這樣阿QQ
Tracy avatarTracy2014-07-03
還是你的putty有設定防閒置之類?