GNOME Bugzilla – Bug 346888
the sftp method should use an ssh library instead of spawning ssh by hand
Last modified: 2006-08-22 12:32:50 UTC
In: http://cvs.gnome.org/viewcvs/gnome-vfs/modules/sftp-method.c?r1=1.29&r2=1.30 the timeout was increased to avoid "races" where some text output from ssh couldn't be gathered because we weren't waiting long enough. Maybe libssh itself would be nice to use: http://freshmeat.net/projects/libssh/ In all cases, we shouldn't be spawning ssh by hand.
I don't really see the reason why we can't just launch ssh. It seems to work fine, and I'm certainly much more trusting of openssh than some random ssh library.