Saya mengalami masalah dengan
OpenSSH
di FreeBSD
7.x, dimana jika kita remote menggunakan Putty
atau program sejenisnya ke box untuk SSH
, selalu terputus dengan satuan waktu tertentu Idle Time
. Setelah baca-baca manual, saya menemukan solusi simple yaitu:budsz:~/.ssh$ vim config
Tambahkan:ServerAliveInterval 60
Di Bagian
Connection Setting
:Seconds between keeplive (0 to turn off) : 1
Dari
man ssh_config(5)
:ServerAliveInterval
Sets a timeout interval in seconds after which if no data has been received from the server, ssh(1) will send a message through the encrypted channel to request aresponse from the server. The default is 0, indicating that these messages will not be sent to the server. This option applies to protocol version 2 only.