linux 远程拷贝文件: scp
linux 远程拷贝 :scp
Linux 下scp传文件时错误 scp: /usr/tools: not a regular file 不能成功传送 解决方案
1:有可能没权限 chmod 777
2: 在使用scp时加上-r 参数
scp -r root@192.168.16.5:/usr/tools/xxxx
- Permanently added (RSA) to the list of known hosts问题解决
- 修改本机配置。
1/etc/ssh/ssh_config 中的2# StrictHostKeyChecking ask 改成3StrictHostKeyChecking no注:scp成功执行,必须两台服务器上都能成功执行scp命令。