wok-next view gvfs/stuff/allow-dropbear-ssh.patch @ rev 17346
Add ncdc
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Fri Nov 07 20:26:01 2014 +0000 (2014-11-07) |
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;