summary: PSCP/PSFTP hang on exit in some failure cases class: bug: This is clearly an actual problem we want fixed. priority: high: This should be fixed in the next release. absent-in: 0.58 2006-08-13 present-in: 2006-08-27 0.59 0.60 2007-09-23 fixed-in: r8117 a071dfdcd2713f4e6569486e2da790fd21a0408d 2008-07-12 (0.61)
PSCP and PSFTP on Windows can hang on exit in various failure situations.
Many of these involve the -batch option, which is embarrassing.
For example:
User aborts at host key verification (or -batch is specified,
which has the same effect).
-batch is specified and no non-interactive authentication
method is successful.
Interestingly, Plink does not appear to hang in similar situations (and
nor does PuTTY proper).
PSCP/PSFTP do not hang in all failure situations -- for instance,
they appear not to hang when interactive password authentication fails.
Looking at when this crept in, it might be another side-effect of the
introduction of the winhandl.c mechanism.
If you want to comment on this web site, see the
Feedback page.