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.diff?r1=1.65&r2=1.66&f=h
--
http://silvestre.zabala.name/
signature.asc
Description: Digital signature

