Set connection timeouts?
oainikusama at gmail.com
Fri Jan 2 12:41:00 EST 2009
On Tue, Dec 30, 2008 at 7:24 PM, Kārlis Repsons
<karlis.repsons at gmail.com> wrote:
> Perhaps you could give some information here or redirect me, because it was
> not clear while reading manuals: how can connection timeout be set for sshd?
> Problem is, when some system is hibernated and it resumes, connections are
> dead. Mostly I made a successful workaround, but would be nice to know...
Could you be a little more specific on what have you already tried?
sshd_config's "ClientAliveInterval" and "ClientAliveCountMax" options
should do the trick. You might also want to take a look at
> Also, which version of ssh(d) support df on sshfs?
I don't think this is related to OpenSSH - you might try
This is what a simple lookup on their faq returned:
-Why does df return strange values on partitions mounted via sshfs?
Because the SFTP protocol doesn't have a statfs operation.
OpenSSH 5.1 added support for a statfs extension to the SFTP protocol,
and from version 2.1 sshfs can make use of this extension. So df will
work if your SFTP server is OpenSSH > 5.1 and your sshfs version is >
More information about the openssh-unix-dev