wok-next view gvfs/stuff/patches/allow-dropbear-ssh.patch @ rev 20891

cookutils: up (1085); syslinux: remove docs
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jul 19 18:27:17 2018 +0300 (2018-07-19)
parents 9610a0d739a2
children d3707642a563
line source
1 --- a/daemon/gvfsbackendsftp.c
2 +++ b/daemon/gvfsbackendsftp.c
3 @@ -244,7 +244,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;