Bom, então veja em 'man sshd_config'.
Observe que ambos os textos (o link do putty e do sshd_config) dão a causa do problema, que não deve ser nem o seu servidor nem o seu cliente - o problema é a rede entre eles. Entenda a *causa* do problema, nao seu *efeito*. A explicação abaixo é bem esclarecedora sobre o problema.


KeepAlive
        Specifies whether the system should send TCP keepalive messages
        to the other side.  If they are sent, death of the connection or
        crash of one of the machines will be properly noticed.  However,
        this means that connections will die if the route is down tem­
        porarily, and some people find it annoying.  On the other hand,
        if keepalives are not sent, sessions may hang indefinitely on the
        server, leaving ``ghost'' users and consuming server resources.

        The default is ``yes'' (to send keepalives), and the server will
        notice if the network goes down or the client host crashes.  This
        avoids infinitely hanging sessions.

        To disable keepalives, the value should be set to ``no''.



 Serial wrote:

Mas meu problema não está no Putty e sim no sshd, pois qdo conecto de uma 
estação linux direto ao servidor Debian, após um periodo de inatividade a 
conexão simplesmente fecha.
Por isso gostaria de saber se existe alguma configuração no sshd_config ou em 
outro arquivo que referencia tempo de inatividade na console assim eu 
comentaria essa regra ou modificaria o tempo dela...

Obrigado

[.]´s
Serial

------------- Mensagem Original --------------------------------
De: Marcos Vinicius Lazarini <[EMAIL PROTECTED]>
Data:  Wed, 06 Jul 2005 12:43:39 -0300

  Serial wrote:


Bom dia,

Estou tendo um problema com a conexão remota via ssh no Debian. Tenho notado 
que após alguns minutos de inatividade no terminal, ele simplesmente fecha 
quando vc usa um client como o Putty por exemplo ou mesmo estando conectado de 
um linux a outro (sendo o destino, uma máquina Debian).

Alguém sabe se existe alguma configuração que possa ser efetuada no sshd ou em 
outro lugar, para que esse problema possa ser resolvidor?


Que tal a explicação do próprio manual do putty?
http://the.earth.li/~sgtatham/putty/0.58/htmldoc/Chapter4.html#config-connection



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Responder a