Re: RE: Bug#337122: sitecopy: sftp protocol doesn't work with openssh >= 1:4.2p1-1

Joe Orton <[email protected]> Sun, 6 Nov 2005 11:47:30 +0000
Newsgroups gmane.comp.web.sitecopy
Message-ID <[email protected]>
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 protected]
> http://dav.lyra.org/mailman/listinfo/sitecopy
_______________________________________________
sitecopy maillist  -  [email protected]
http://dav.lyra.org/mailman/listinfo/sitecopy