ssh连接Linux出错 求救
飞行的 2014-02-25 03:04:23 大家好:
最近用com.sshtools.j2ssh.SshClient连接服务器,本地连接没问题,但是部署到Linux上后就出错,错误如下
2014-02-25 13:54:53,734 ERROR [TransportProtocolCommon] The Transport Protocol thread failed
com.sshtools.j2ssh.transport.AlgorithmNotSupportedException: DH KeyPairGenerator not available
at com.sshtools.j2ssh.transport.kex.DhGroup1Sha1.onInit(Unknown Source)
at com.sshtools.j2ssh.transport.kex.SshKeyExchange.init(Unknown Source)
at com.sshtools.j2ssh.transport.TransportProtocolCommon.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)
小弟刚刚接受这技术,实在是不懂,求高手指教