跳至主要內容
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?

4563博客

全新的繁體中文 WordPress 網站
  • 首頁
  • ssh 连接问题
未分類
28 12 月 2020

ssh 连接问题

ssh 连接问题

資深大佬 : ddddad 13

ssh config 里面配置的公钥明明是 rsa 签名 在 know_hosts 里面的却是 ecdsa

调试发现走的是 /etc/ssh 里面的*

有谁碰到过么,怎么解决的?

大佬有話說 (5)

  • 資深大佬 : IamYourDad

    ssh -vvv ….

  • 主 資深大佬 : ddddad

    就是-v 看到的

    debug1: kex: host key algorithm: ecdsa-sha2-nistp256
    debug1: kex: server->client cipher: [email protected] MAC: <implicit> compression: none
    debug1: kex: client->server cipher: [email protected] MAC: <implicit> compression: none
    debug1: expecting SSH2_MSG_KEX_ECDH_REPLY

    没有用指定的算法 但是 config 里配置的是 ip

  • 資深大佬 : jeffreystoke

    host key 是 sshd 标识服务器自己用的
    你所提供的 rsa 公玥是 ssh identity,是用于标识用户的

    参考: https://www.ssh.com/ssh/host-key

  • 資深大佬 : IamYourDad

    rsa 不安全,服务器自己的私钥一般都是 ecdsa,客户的湿湿稅随便了

  • 主 資深大佬 : ddddad

    感谢上

文章導覽

上一篇文章
下一篇文章

AD

其他操作

  • 登入
  • 訂閱網站內容的資訊提供
  • 訂閱留言的資訊提供
  • WordPress.org 台灣繁體中文

51la

4563博客

全新的繁體中文 WordPress 網站
返回頂端
本站採用 WordPress 建置 | 佈景主題採用 GretaThemes 所設計的 Memory
4563博客
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?
在這裡新增小工具