将Ed25519转换为RSA指纹(或如何查找SSH指纹) [英] Convert Ed25519 to RSA fingerprint (or how to find SSH fingerprint)

查看:836
本文介绍了将Ed25519转换为RSA指纹(或如何查找SSH指纹)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

BizTalk认为内部SFTP测试的指纹为 ssh-rsa 2048 33:88:f0:ff:63:78:a9:2b:3f:09:cb:05:81:db:59:86

BizTalk sees thumbprint for an internal SFTP test as ssh-rsa 2048 33:88:f0:ff:63:78:a9:2b:3f:09:cb:05:81:db:59:86

WinSCP显示:ssh-ed25519 256 ff:2e:5e:33:7a:15:de:69:18:cf:82:ae:f0:4e:7b:d2 (当我单击会话",然后单击服务器/协议信息"时)

WinSCP shows: ssh-ed25519 256 ff:2e:5e:33:7a:15:de:69:18:cf:82:ae:f0:4e:7b:d2 (when I click "Session", then "Server/Protocol Information")

是否可以将一个转换为另一个? 是否可以从WinSCP,PuTTY或其他工具获取ssh-rsa指纹?

Is it possible to convert one to the other? Is it possible to get the ssh-rsa thumbprint from WinSCP, PuTTY or some other tool?

推荐答案

WinSCP使用Ed25519主机密钥.它是与BizTalk使用的RSA主机密钥不同的密钥.您不能将一个转换为另一个.

WinSCP uses Ed25519 host key. It's a different key, than the RSA host key used by BizTalk. You cannot convert one to another.

此外,您不能强制WinSCP使用RSA主机密钥.与RSA相比,WinSCP将始终使用Ed25519主机密钥.

Also you cannot force WinSCP to use RSA hostkey. WinSCP will always use Ed25519 hostkey as that's preferred over RSA.

如果可以使用SSH终端(例如PuTTY)连接到服务器,请使用ssh-keygen显示RSA主机密钥的指纹:

If you can connect with SSH terminal (e.g. PuTTY) to the server, use ssh-keygen to display a fingerprint of the RSA host key:

ssh-keygen -l -f /etc/ssh/ssh_host_rsa_key

(这假定具有OpenSSH的通用* nix服务器)

(this assumes common *nix server with OpenSSH)

请注意,只有在您事先验证了SSH终端使用的主机密钥后,这才有意义.

Note that this makes sense only, if you had verified the host key, that the SSH terminal uses, upfront.

请参见在哪里可以获取用于授权服务器的SSH主机密钥指纹的WinSCP常见问题解答? ,涵盖了所有这一切.

See WinSCP FAQ on Where do I get SSH host key fingerprint to authorize the server?, which covers all this.

这篇关于将Ed25519转换为RSA指纹(或如何查找SSH指纹)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆