scp 2018-05-30 11:49:12 --将远程服务器文件夹拷贝到服务器制定目录 会要求输入远程服务器密码 -i identity_file: 指定密钥文件登录 scp -r root@ip:/opt/mysql /opt