前提:要传输文件的服务器上已经能够部署了SSH免登陆验证传输文件夹scp -r /usr/local/zookeeper cache02:/usr/local/ 传输文件scp /etc/redis/7005.conf cache02:/etc/redis/