网站首页 美食营养 游戏数码 手工爱好 生活家居 健康养生 运动户外 职场理财 情感交际 母婴教育 时尚美容

解決SSH連線can't agree a host key algorithm

时间:2024-10-18 17:20:27

1、下載Putty

2、Putty選用Telnet遠端連線,輸入IP與PORT並點選下方OPEN按鈕

解決SSH連線can't agree a host key algorithm

3、輸入帳號=>ENTER=>接著輸入密碼=>ENTER,成功進入後會出現#

4、輸入並按下ENTER=>chmod 0600 /etc/ssh/ssh_host_rsa_key

5、輸入並按下ENTER=>chmod 0600 /etc/ssh/ssh_host_dsa_key

6、輸入並按下ENTER=>chmod 0600 /etc/config/ssh/ssh_host_rsa_key

7、輸入並按下ENTER=>chmod 0600 /etc/config/ssh/ssh_host_dsa_key

8、輸入並按下ENTER=>chmod 0644 /etc/ssh/*.pub

9、輸入並按下ENTER=>chmod 0644 /etc/config/ssh/*.pub

10、接著重開Putty選用SSH遠端連線,輸入IP與PORT並點選下方OPEN按鈕以連線

© 2025 小知经验
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com