Comment 2 for bug 40950

Revision history for this message
In , Joe Orton (joe-manyfish) wrote : Re: [sitecopy] RE: Bug#337122: sitecopy: sftp protocol doesn't work with openssh >= 1:4.2p1-1

On Sat, Nov 05, 2005 at 11:44:21AM -0600, Reed Snellenberger wrote:
> >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:

Obvious question... will this still work OK with older versions of
OpenSSH?

joe

> >
> >--- 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
>
>
> _______________________________________________
> sitecopy maillist - <email address hidden>
> http://dav.lyra.org/mailman/listinfo/sitecopy