Comment 1 for bug 40950

Revision history for this message
In , Reed Snellenberger (rsnellenberger) wrote : RE: Bug#337122: sitecopy: sftp protocol doesn't work with openssh >= 1:4.2p1-1

>-----Original Message-----
>From: Silvestre Zabala [mailto:<email address hidden>]
>Sent: Wednesday, November 02, 2005 12:32 PM
>To: Debian Bug Tracking System
>Subject: Bug#337122: sitecopy: sftp protocol doesn't work with
>openssh >= 1:4.2p1-1
>
>Package: sitecopy
>Version: 1:0.16.1-1
>Severity: normal
>Tags: patch
>
>Hello,
>
>the sftp protocol doesn't work with openssh >= 1:4.2p1-1
>because the new sftp command doesn't print a prompt after
>connecting to the remote server any longer if STDIN is not a tty.[1]
>
>Thus this trivial patch is enough to make it work again:
>
>--- sftpdriver.c 2005-06-29 11:44:47.000000000 +0200
>+++ sftpdriver.c 2005-11-02 19:09:55.000000000 +0100
>@@ -140,7 +140,6 @@
> }
> close(c_in);
> close(c_out);
>- read_sftp(sess); /* wait for prompt */
> return SITE_OK;
> }
>
>Best regards,
> Silvestre
>
>
>[1]
>http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/sftp.c.di
>ff?r1=1.65&r2=1.66&f=h
>
>--
>http://silvestre.zabala.name/
>

--
Reed Snellenberger
GPG KeyID: 5A978843
rsnellenberger-at-houston.rr.com