linux 連接網絡設備報錯 ssh no matching cipher found

  • 連接華三設備
    Unable to negotiate with 192.168.56.2 port 22: no matching cipher found. Their offer: aes128-cbc,aes256-cbc,3des-cbc,des-cbc

    解決辦法:
    編輯ssh配置文件:
    sudo vim /etc/ssh/ssh_config

    添加以下內容
    Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc,aes192-cbc,aes256-cbc

  • 連接思科設備
    Unable to negotiate with 192.168.159.132 port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1

    解決辦法:
    編輯ssh配置文件:
    sudo vim /etc/ssh/ssh_config

    添加以下內容
    KexAlgorithms +diffie-hellman-group1-sha1

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章