经过google,出现这个问题的原因是,这是ssh的问题, GkFool大神说(第一次使用SSH连接时,会生成一个认证,储存在客户端的known_hosts中)
我的解决办法是:
1 ssh-keygen -R 服务器端的ip地址
提示:
1 /用户home目录/.ssh/known_hosts updated. 2 Original contents retained as /用户home目录/.ssh/known_hosts.old
重新连线, 出现提示:
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)?
输入yes确定即可传输成功!