經過google,出現這個問題的原因是,這是ssh的問題, GkFool大神說(第一次使用SSH連接時,會生成一個認證,儲存在客戶端的known_hosts中)我的解決辦法是: 1 ssh-keygen -R 伺服器端的ip地址View Code提示: 1 /用戶home目錄/.ssh/known_... ...
經過google,出現這個問題的原因是,這是ssh的問題, GkFool大神說(第一次使用SSH連接時,會生成一個認證,儲存在客戶端的known_hosts中)
我的解決辦法是:

1 ssh-keygen -R 伺服器端的ip地址
View Code提示:

1 /用戶home目錄/.ssh/known_hosts updated. 2 Original contents retained as /用戶home目錄/.ssh/known_hosts.oldView Code
重新連線, 出現提示:

1 The authenticity of host 'xxx.xxx.xxx.xxx(xxx.xxx.xxx.xxx)' can't be established. 2 RSA key fingerprint is da:f7:3e:ba:f7:00:e6:44:76:f2:58:6e:48:**. 3 Are you sure you want to continue connecting (yes/no)?View Code
輸入yes確定即可傳輸成功!