[openssh-unix-dev] Re: Possible feature request: sync_on_close mode for scp/sftp uploads

Jeremy Friesner jaf at meyersound.com
Fri Jul 2 03:20:38 EST 2010


On Jun 30, 2010, at 7:09 PM, David Bronder wrote:
> scp is not a subsystem.  For your use case, you'll want to rename the
> existing scp to something else (e.g. "scp.bin") and rename your wrapper
> to "scp" (in the same location as the original scp).

Thanks, that works for me.  :^)

> Note that the workaround for sftp will only work if the SFTP session
> completes and the connection is closed.  If a file is transferred but
> the SFTP session is still open when the power is cut, you won't have
> the sync (it won't run until sftp-server exits)...

I'll keep that in mind.

Thanks again!

-Jeremy



More information about the openssh-unix-dev mailing list