liximomo / vscode-sftp

Super fast sftp/ftp extension for VS Code
MIT License
1.5k stars 256 forks source link

更新后出错 #978

Closed jxjywhz closed 2 years ago

jxjywhz commented 2 years ago

更新到v1.12.10 服务端是freeFTP 1.0.13,启用SFTP。访问失败,回滚到上一版本正常的。 错误提示: []: Handshake failed: no matching key exchange algorithm 日志: [01-05 09:32:02] [debug] Custom crypto binding not available [01-05 09:32:02] [debug] Local ident: 'SSH-2.0-ssh2js1.5.0' [01-05 09:32:02] [debug] Client: Trying on port ... [01-05 09:32:02] [debug] Socket connected [01-05 09:32:02] [debug] Remote ident: 'SSH-2.0-WeOnlyDo-wodFTPD 3.3.0.424' [01-05 09:32:02] [debug] Outbound: Sending KEXINIT [01-05 09:32:02] [debug] Inbound: Handshake in progress [01-05 09:32:02] [debug] Handshake: (local) KEX method: curve25519-sha256@libssh.org,curve25519-sha256,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group15-sha512,diffie-hellman-group16-sha512,diffie-hellman-group17-sha512,diffie-hellman-group18-sha512 [01-05 09:32:02] [debug] Handshake: (remote) KEX method: diffie-hellman-group1-sha1,diffie-hellman-group14-sha1 [01-05 09:32:02] [debug] Handshake: No matching key exchange algorithm [01-05 09:32:02] [debug] Outbound: Sending DISCONNECT (3) [01-05 09:32:02] [debug] Outbound: Sending DISCONNECT (11) [01-05 09:32:02] [debug] Socket ended [01-05 09:32:02] [debug] Socket closed

liximomo commented 2 years ago

手动配一下 https://github.com/liximomo/vscode-sftp/wiki/SFTP-only-Config#algorithms