Re: background processes?
From: Nico Kadel-Garcia (nkadel@bellatlantic.net)Date: 09/25/02
- Next message: Nico Kadel-Garcia: "Re: Changing PATH compiled into sshd"
- Previous message: Joern Oltmann: "AllowHosts on openssh ?"
- In reply to: Dimitri Maziuk: "Re: background processes?"
- Next in thread: Dimitri Maziuk: "Re: background processes?"
- Reply: Dimitri Maziuk: "Re: background processes?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Nico Kadel-Garcia" <nkadel@bellatlantic.net> Date: Wed, 25 Sep 2002 13:03:58 GMT
"Dimitri Maziuk" <dima@127.0.0.1> wrote in message
news:slrnap1cf0.k9k.dima@odyssey.bmrb.wisc.edu...
> thus spake Richard Silverman:
> >>>>>> "JM" == Joe Mildenberger <Joe.Mildenberger@triumf.ca> writes:
> >
> > JM> I'm not arguing with the presumed reason for having this
> > JM> annoying (yes, it _is_ annoying!) feature
> >
> > There is nothing "presumed" about it; the problem is there.
> >
> > JM> but it seems to me to be more in the realm of programming
> > JM> "busybody-ism" than in something that would genuinely help me in
> > JM> doing my job.
> >
> > Did you actually read the link I posted? The problem, unaddressed,
causes
> > random unpredictable data loss. That's generally considered a bad
thing.
> > For instance, the reported symptom which caused this problem to be
> > discovered and addressed, was that every once in a while, scp would
> > corrupt files it transferred.
>
> There is a reason why ftp uses 2 ports and 2 protocols: one for
> interactive command session, and one for data transfer. SSH author,
> presumably, flunked his Networking 101, otherwise he would've known
> what that reason is.
And forwarding ftp is thus one of the hairiest pains known. Not appropriate
for SSH!
> > JM> I mean, really, how is it helping me by producing these hung
> > JM> sessions?
> >
> > It is not "producing these hung sessions." *You* are producing them, by
> > starting processes on the server side which hold the input pipes to sshd
> > open. sshd has no way of knowing whether more data is coming or not, so
> > it does not exit. Close the useless file descriptors, and it will exit.
>
> This is getting silly. If run $FOO over RSH, there are no hung sessions.
> If I run the same $FOO over SSH, the session hangs. You're telling me
> I'm wrong to blame SSH for that? Puhleez...
SCP is doing a lot more and doing it more safely. Rsh did a *lot* of dumb
and dangerous things: should we implement those too, for convenience?
Just redirect your std* to /dev/null, and it should work.
- Next message: Nico Kadel-Garcia: "Re: Changing PATH compiled into sshd"
- Previous message: Joern Oltmann: "AllowHosts on openssh ?"
- In reply to: Dimitri Maziuk: "Re: background processes?"
- Next in thread: Dimitri Maziuk: "Re: background processes?"
- Reply: Dimitri Maziuk: "Re: background processes?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|