scp not tolerant of extraneous shell messages

Carson Gaspar carson at taltos.org
Wed Jul 3 08:19:15 EST 2002


--On Tuesday, July 02, 2002 7:39 PM +0000 Bryan Henderson 
<bryanh at giraffe-data.com> wrote:

> I assume the fix you're talking about is making the startup scripts detect
> that the shell isn't really interactive (I'm not sure how it would) and
> running the scp command as if it were a shell script instead?  Or is it
> making the shell never produce any output, even when a human is there
> looking?

This is _not_ rocket science. As I said before (but you apparantly didn't 
read:

if [ -t 1 ]; then
	stuff that outputs to stdout/stderr
fi

-- 
Carson




More information about the openssh-unix-dev mailing list