Re: Use of ClientAliveInterval and ClientAliveCountMax to terminate sftp
On 2006-11-02, shyam <shyam.geek@gmail.com> wrote:
> Does ClientAliveInterval and ClientAliveCountMax hold good for
> terminating sftp session in case of no dataflow in a SSH channel?
>
> What I am looking for is a mechanism by which I can terminate a sftp
> session, if there is no data transfer to the server ?
No, what those do is send a packet to the client if they have seen one for
a while, but if the client is still running then it will reply and reset
the timer without any interaction from the user.
Basically they if the client crashes, is killed, rebooted or
drops off the net, but not if the client is simply idle but otherwise
ok.
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
|