wok-current view gvfs/stuff/allow-dropbear-ssh.patch @ rev 24160

Up ventoy (1.0.63)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 20 17:39:32 2021 +0000 (2021-12-20)
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;