Windows 2022(及其他 Windows 版本),WinSCP 便携版,版本 6.3.4(但也可于旧版本上重现)
我的open
命令是这样的:
open sftp://user1:***@localhost -rawsettings KEX="dh-group14-sha1"
命令运行良好,我已连接到服务器,但使用不同的 KEX。日志还显示 KEX 未按预期更改。
这是日志 – 观察以 KEX 开头的行
--------------------------------------------------------------------------
Script: Retrospectively logging previous script records:
Script: open sftp://user1:***@localhost -rawsettings KEX="dh-group14-sha1"
--------------------------------------------------------------------------
Session name: user1@localhost (Ad-Hoc site)
Host name: localhost (Port: 22)
User name: user1 (Password: Yes, Key file: No, Passphrase: No)
Tunnel: No
Transfer Protocol: SFTP
Ping type: Off, Ping interval: 30 sec; Timeout: 15 sec
Disable Nagle: No
Proxy: None
Send buffer: 262144
Compression: No
Bypass authentication: No
Try agent: Yes; Agent forwarding: No; KI: Yes; GSSAPI: Yes
GSSAPI: KEX: No; Forwarding: No; Libs: gssapi32,sspi,custom; Custom:
Ciphers: aes,chacha20,aesgcm,3des,WARN,des,blowfish,arcfour; Ssh2DES: No
KEX: ntru-curve25519,ecdh,dh-gex-sha1,dh-group18-sha512,dh-group17-sha512,dh-group16-sha512,dh-group15-sha512,dh-group14-sha1,rsa,WARN,dh-group1-sha1
SSH Bugs: Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto
Simple channel: Yes
Return code variable: Autodetect; Lookup user groups: Auto
Shell: default
Cipher
注意,如果我想修改选项,情况也是如此
知道我做错了什么吗?