相关疑难解决方法(0)

在sshj中处理"[HOST_KEY_NOT_VERIFIABLE]无法用指纹验证`ssh-rsa`主机密钥"

我有一个奇怪的问题sshj(我正在使用sshj v0.6.0),我需要一些人的帮助.使用公钥进行身份验证在某些计算机上运行正常但在其他计算机上无法正常工作,我看到以下错误.

唯一不同的是,有问题的UNIX ID有问题,即coonradt似乎在〜/ .ssh/config下面的下面列出的配置设置只在触发了以下错误的框上

Host *
    Protocol 1,2
    FallBackToRsh no
    ForwardAgent yes
    ForwardX11 yes
    PasswordAuthentication yes
    RhostsAuthentication no
    RhostsRSAAuthentication no
    RSAAuthentication yes
    NoHostAuthenticationForLocalhost yes
    StrictHostKeyChecking no
  KeepAlive yes
Run Code Online (Sandbox Code Playgroud)

从上面的配置文件中我了解到有问题的ID应该使用Protocol 1,2并且我怀疑这可能与我的失败有关(我不是很确定,但这只是一个预感)

对于其工作正常的所有其他UNIX ID,我没有任何这样的配置文件.

PS:我无法更改UNIX ID"coonradt"的配置,因为中央哈德森服务器正在使用此ID.

如果有人可以帮助我建议这里可能有什么问题,我将不胜感激

以下是我看到的错误:

Oct 24, 2011 2:30:37 AM net.schmizz.sshj.DefaultConfig initCipherFactories
WARNING: Disabling high-strength ciphers: cipher strengths apparently limited by JCE policy
Oct 24, 2011 2:30:38 AM net.schmizz.sshj.transport.TransportImpl init
INFO: Client identity string: SSH-2.0-SSHJ_0_6_0
Oct 24, 2011 2:30:38 AM net.schmizz.sshj.transport.TransportImpl init
INFO: Server identity string: SSH-1.99-OpenSSH_4.3
Oct …
Run Code Online (Sandbox Code Playgroud)

java ssh sshj

12
推荐指数
3
解决办法
2万
查看次数

标签 统计

java ×1

ssh ×1

sshj ×1