Implementing sftp server-side timeout

Peter Stuge peter at stuge.se
Tue Dec 20 21:16:47 AEDT 2022


Damien Miller wrote:
> > Finally, have you tested how this works with internal-sftp?
> > 
> > I guess many large scale servers don't use internal-sftp because of
> > logging requirements as discussed in an older thread but I bet that
> > internal-sftp is desirable especially when scaling up so make sure
> > to not neglect it. Thanks.
> 
> I didn't catch the other thread, but internal-sftp logging should
> work just fine.

I failed to mention the chroot condition. There was a long-ish thread
on logging from chrooted sftp-server some months ago (last year?).


Damien Miller wrote:
> I don't think timeouts should be implemented in sftp-server, but in
> sshd(8). I have a prototype of a generic channel timeout mechanism at
> https://github.com/djmdjm/openssh-wip/pull/16

That's a really good general solution, keeping sftp-server simple.


Thanks a lot

//Peter


More information about the openssh-unix-dev mailing list