[Bug 2091] scp hangs while copying a large file and being executed as a background process ( with nohup )

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Thu May 3 22:58:12 AEST 2018


https://bugzilla.mindrot.org/show_bug.cgi?id=2091

karl.mumford at ext.ons.gov.uk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CLOSED                      |REOPENED
         Resolution|FIXED                       |---
                 CC|                            |karl.mumford at ext.ons.gov.uk

--- Comment #4 from karl.mumford at ext.ons.gov.uk ---
This bug is still there in ssh v7.1p1 on AIX and can be reproduced in
exactly the same way.
It should be noted that the scp hang only occurs in Kron shell i.e. the
same procedure done in Bourne or C shells does not cause the hang.
A workaround is to use the 'screen' command instead of nohup and
disconnect.
Another workaround is to ssh from the source system back to itself, run
the nohup scp & command and then background the looped ssh connection
with ~&

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list