WindTerm icon indicating copy to clipboard operation
WindTerm copied to clipboard

兼容性不好

Open shanjunmei opened this issue 3 years ago • 8 comments

如题,很多其它工具能用连的ssh终端,windTerm不行,我自己的反向ssh,tabby能无缝连接,windterm连上去就 卡住

shanjunmei avatar Mar 05 '23 10:03 shanjunmei

目标机器非标准ip或者 域名,而是目标机器的标识符,几近随机字符串

shanjunmei avatar Mar 05 '23 10:03 shanjunmei

标准的ssh 客户端都可以正常连接它,包括linux/windos下的ssh命令,tabby也没问题

shanjunmei avatar Mar 05 '23 10:03 shanjunmei

建议描述清楚,你这么说大家看不懂,作者也看不懂,作者无法进行排查和模拟,比如: 客户端信息:win? 服务端信息:redhat几 or ubuntu18? openeuler22.03? 连接信息:ip 还是域名,最好加上截图 报错信息:截图

mzky avatar Mar 09 '23 01:03 mzky

我也发现 使用2.2可以连接 openSSH6.7但是更新的版本就不行。 Using version 2.2 can connect to openSSH 6.7, but newer versions cannot

albinhdk avatar Mar 13 '23 01:03 albinhdk

我也发现 使用2.2可以连接 openSSH6.7但是更新的版本就不行。 Using version 2.2 can connect to openSSH 6.7, but newer versions cannot

可以在sshd_config里加上下边的配置试试

#添加支持的加密算法,支持低版本客户端 KexAlgorithms diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group-exchange-sha256,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group1-sha1,[email protected]

#添加ssh-rsa算法,支持低版本客户端 HostKeyAlgorithms +ssh-rsa

mzky avatar Mar 13 '23 02:03 mzky

我也发现 使用2.2可以连接 openSSH6.7但是更新的版本就不行。 Using version 2.2 can connect to openSSH 6.7, but newer versions cannot

可以在sshd_config里加上下边的配置试试

#添加支持的加密算法,支持低版本客户端 KexAlgorithms diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group-exchange-sha256,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group1-sha1,[email protected]

#添加ssh-rsa算法,支持低版本客户端 HostKeyAlgorithms +ssh-rsa

这个配置在哪, 我用的最新2.6版本没有找到这个配置文件

showyourlucky avatar Apr 01 '23 16:04 showyourlucky

我也发现 使用2.2可以连接 openSSH6.7但是更新的版本就不行。 Using version 2.2 can connect to openSSH 6.7, but newer versions cannot

可以在sshd_config里加上下边的配置试试 #添加支持的加密算法,支持低版本客户端 KexAlgorithms diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group-exchange-sha256,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group1-sha1,[email protected] #添加ssh-rsa算法,支持低版本客户端 HostKeyAlgorithms +ssh-rsa

这个配置在哪, 我用的最新2.6版本没有找到这个配置文件

/etc/ssh/sshd_config 修改后重启sshd

mzky avatar Apr 03 '23 01:04 mzky

我也发现 使用2.2可以连接 openSSH6.7但是更新的版本就不行。 Using version 2.2 can connect to openSSH 6.7, but newer versions cannot

可以在sshd_config里加上下边的配置试试

#添加支持的加密算法,支持低版本客户端 KexAlgorithms diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group-exchange-sha256,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group1-sha1,[email protected]

#添加ssh-rsa算法,支持低版本客户端 HostKeyAlgorithms +ssh-rsa

现在对安全是普遍重视的,sshd又是漏洞高发区,通常服务器的sshd配置是做过安全加固的,禁用了不安全的老旧算法,不能随便改动,这不是个实用的解决方案,这个问题的根本原因是windterm支持的算法不全,特别是较新的更安全算法。 不可能为了用一个客户端,让服务器来适配客户端,一个一个的去调整服务器的配置。windterm是个很好的的客户端,建议作者将这个需求作为较高的优先列入后续计划,让windterm兼容性好起来。感谢。

kuun avatar Apr 27 '23 05:04 kuun