net.schmizz.sshj.transport.TransportException: Could not verify ssh-ed25519 host key with fingerprint 问题解决

主要是在使用jprofiler 同时修改了server 的端口之后出现的问题,记录下解决临时方法(毕竟jprofiler 代码混淆了)

参考解决方法

核心是使用ssh-keyscan -t ed25519 生成指纹信息

  • 参考
ssh-keyscan -t ed25519 -p 49633  sftp.domain.org

之后添加对应的信息到known_hosts 文件中

参考资料

https://github.com/hierynomus/sshj/issues/635
https://feitam.es/how-fix-error-could-not-verify-ssh-ed25519-host-key/

posted on 2022-09-30 09:47  荣锋亮  阅读(898)  评论(0编辑  收藏  举报

导航