OpenSSH-2.5.1p1 scp hangs when scping into an RH (6.0|7.0) box

Pekka Savola pekkas at netcore.fi
Thu Feb 22 04:25:44 EST 2001


On Wed, 21 Feb 2001, Jim Breton wrote:

> OK I am running into another problem now as well (see the earlier posts
> to this thread so see some of the systems involved).
>
> In addition to the aforementioned issues, I also cannot do this:
>
> ssh hostname "cat > filename" < filename
>
> which is what I had been using as a work-around to the broken scp in
> OpenSSH-2.3.0.  This now also seems broken in 2.5.1 in some cases.

Might this be related to this (from TODO):

---
- Linux hangs for 20 seconds when you do "sleep 20&exit".  All current
  solutions break scp or leaves processes hanging around after the ssh
  connection has ended.  It seems to be linked to two things.  One
  select() under Linux is not as nice as others, and two the children
  of the shell are not killed on exiting the shell.
---

If so, scp should work now.

This was changed after 2.3.0p1 was released.

-- 
Pekka Savola                  "Tell me of difficulties surmounted,
Netcore Oy                    not those you stumble over and fall"
Systems. Networks. Security.   -- Robert Jordan: A Crown of Swords








More information about the openssh-unix-dev mailing list