wok-current diff 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 diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gvfs/stuff/allow-dropbear-ssh.patch Mon Dec 20 17:39:32 2021 +0000 1.3 @@ -0,0 +1,12 @@ 1.4 +--- daemon/gvfsbackendsftp.c.orig 1.5 ++++ daemon/gvfsbackendsftp.c 1.6 +@@ -237,7 +237,8 @@ 1.7 + if (ssh_stderr == NULL) 1.8 + res = SFTP_VENDOR_INVALID; 1.9 + else if ((strstr (ssh_stderr, "OpenSSH") != NULL) || 1.10 +- (strstr (ssh_stderr, "Sun_SSH") != NULL)) 1.11 ++ (strstr (ssh_stderr, "Sun_SSH") != NULL) || 1.12 ++ (strstr (ssh_stderr, "Dropbear") != NULL)) 1.13 + res = SFTP_VENDOR_OPENSSH; 1.14 + else if (strstr (ssh_stderr, "SSH Secure Shell") != NULL) 1.15 + res = SFTP_VENDOR_SSH;