openssh 7.5 jsch 工具链接报错Algorithm negotiation fail

mac2025-08-26  9

1、修改/etc/ssh/sshd_config配置文件,添加jdk1.6支持的加密算法,如下:

      KexAlgorithms +diffie-hellman-group1-sha1

      service sshd restart

2、使用 jsch-0.1.52 jar包

最新回复(0)