Code: Select all
ClientAliveInterval 0
#na wieksze wartosc tez ustawialem
ClientAliveCountMax 3
#zakomentowywalem wszystko tez i ustawialem od 3-15
TCPKeepAlive yes
#na rozne sposoby juz tutaj kombinowalemModerator: SlashBeast
Code: Select all
ClientAliveInterval 0
#na wieksze wartosc tez ustawialem
ClientAliveCountMax 3
#zakomentowywalem wszystko tez i ustawialem od 3-15
TCPKeepAlive yes
#na rozne sposoby juz tutaj kombinowalemsoban_ wrote:Ehh juz troche googlowalem i tak jak w temacie - dosyc "glupio-denerwujacy" problem - mianowicie, gdy nic nie robie przez jakies 10 minut to zrywa mi polaczenie. Probowalem juz z opcjami w /etc/ssh/sshd_config ustawiac:Code: Select all
........[/quote] [quote="Dokumentacja"][b]LoginGraceTime[/b] The server disconnects after this time if the user has notsuccessfully logged in. If the value is 0, there is no time limit.The [b]default is 600 (seconds)[/b]. [/quote] Sznurek: http://www.onsight.com/faq/ssh/manpages/sshd1_man.html To by było na tyle 8)
Nie, jade na pale ; ) <- to jest ironia, zeby pozniej nie bylo.Jacekalex wrote:A do dokumentacji zajrzał?

Code: Select all
Host *
Protocol 2
TCPKeepAlive yes
ServerAliveInterval 60