解决密钥验证问题
/build$ sshpass -p '密码' scp aaa root@xx.xx.xx.xx:/xxx/aaa
Host key verification failed.
xxx@bbb:~/build$ sshpass -p '密码' scp -o StrictHostKeyChecking=no aaa root@xx.xx.xx.xx:/xxx/aaa
Warning: Permanently added 'xx.xx.xx.xx' (ECDSA) to the list of known hosts.
Ssh远程拷贝
xxx@bbb:~t/build$ sshpass -p '密码' scp aaa root@xx.xx.xx.xx:/xxx/aaa
xxx@bbb: