After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 346888 - the sftp method should use an ssh library instead of spawning ssh by hand
the sftp method should use an ssh library instead of spawning ssh by hand
Status: RESOLVED WONTFIX
Product: gnome-vfs
Classification: Deprecated
Component: Module: ssh/sftp
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
Depends on:
Blocks:
 
 
Reported: 2006-07-07 13:42 UTC by Bastien Nocera
Modified: 2006-08-22 12:32 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastien Nocera 2006-07-07 13:42:23 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.
Comment 1 Alexander Larsson 2006-08-22 12:32:50 UTC
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.