wok-6.x view gvfs/stuff/allow-dropbear-ssh.patch @ rev 18606

busybox: touch $root/etc/daemons.conf
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Nov 16 11:29:05 2015 +0200 (2015-11-16)
parents
children
line source
1 --- daemon/gvfsbackendsftp.c.orig
2 +++ daemon/gvfsbackendsftp.c
3 @@ -237,7 +237,8 @@
4 if (ssh_stderr == NULL)
5 res = SFTP_VENDOR_INVALID;
6 else if ((strstr (ssh_stderr, "OpenSSH") != NULL) ||
7 - (strstr (ssh_stderr, "Sun_SSH") != NULL))
8 + (strstr (ssh_stderr, "Sun_SSH") != NULL) ||
9 + (strstr (ssh_stderr, "Dropbear") != NULL))
10 res = SFTP_VENDOR_OPENSSH;
11 else if (strstr (ssh_stderr, "SSH Secure Shell") != NULL)
12 res = SFTP_VENDOR_SSH;