如何从 FileZilla FTP 客户端的密钥缓存中提取 SFTP SSH 密钥 [英] How To Extract SFTP SSH Key From Key Cache in FileZilla FTP Client

查看:29
本文介绍了如何从 FileZilla FTP 客户端的密钥缓存中提取 SFTP SSH 密钥的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已使用 FileZilla 通过 SFTP 连接到服务器,并接受将服务器的 SSH 密钥添加到 FileZilla 中的密钥缓存中.

I have connected to a server via SFTP using FileZilla and accepted adding the server's SSH key to the key cache in FileZilla.

如何将此缓存的密钥提取到密钥文件中,以便可以通过其他需要提供密钥文件的 SFTP 应用程序使用它?

How can I extract this cached key to a keyfile so that may use it through other SFTP applications that require a keyfile be made available?

我无法在 FileZilla 文档中找到与此相关的任何内容.

I have not been able to find anything in the FileZilla documentation related to this.

推荐答案

如果您使用标准的 openssh 控制台客户端(cygwin 或来自 linux),主机密钥存储在 ~/.ssh/known_hosts 中,每行一个.从那里,只需确定您的库需要该主机密钥的哪一部分.

If you use the standard openssh console client (cygwin or from linux), host keys are stored, one-per-line, in ~/.ssh/known_hosts. From there, it's a simple matter of figuring out which bit of that host key is needed for your library.

Putty 还存储主机密钥,但它似乎以十六进制对它们进行编码.这些可以在 HKCURSoftwareSimonTathamPuTTYSshHostKeys 找到

Putty also stores host keys, but it appears to encode them in hex. Those can be found at HKCURSoftwareSimonTathamPuTTYSshHostKeys

这篇关于如何从 FileZilla FTP 客户端的密钥缓存中提取 SFTP SSH 密钥的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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