scp not tolerant of extraneous shell messages

Gert Doering gert at greenie.muc.de
Wed Jul 3 07:41:40 EST 2002


Hi,

On Tue, Jul 02, 2002 at 07:39:57PM +0000, Bryan Henderson wrote:
> commands you feed it.  Ssh goes out of its way to create (2), defining a
> pseudo terminal so that the shell believes it is talking to a 
> person.  It can't then turn around and say the shell must understand that
> there's no person there.

Ummm.  Why do you assume that scp is using a pty?

It doesn't do that for me - try running "scp -v", unless it tells
something like

debug1: Requesting pty.

it is not.

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             gert at greenie.muc.de
fax: +49-89-35655025                        gert.doering at physik.tu-muenchen.de



More information about the openssh-unix-dev mailing list