sftp interrupt hang

Ray ray at cyth.net
Tue Aug 3 04:23:37 EST 2010


This is on OpenBSD -current. But apparently there's a really long
timeout, because after I interrupted for what seemed like 30 minutes,
it reported an error and quit. I think it was a pipe error.

If a second interrupt is received, perhaps sftp should just quit like ftp.

On Saturday, July 31, 2010, Darren Tucker  wrote:
> On 31/07/10 5:25 PM, Ray Lai wrote:
>
> When downloading a file and the connection hangs due to crappy wifi,
> sftp just says "0.0 KB/s - stalled -". I hit ^C to kill it, but it
> just prints "Interrupt" and doesn't do anything, no matter how many
> times I hit ^C or how long I wait. Is this expected behavior? Or
> am I expected to kill the ssh connection itself with "~."?
>
>
> What version of OpenSSH is this and on what platform?  It sounds a lot like https://bugzilla.mindrot.org/show_bug.cgi?id=1590 which was fixed in the 5.4 release.
>
> --
> 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.
>


More information about the openssh-unix-dev mailing list