一、下载远程文件到本地
scp -i /Users/user/ssh/id_rsa root@192.168.1.8:/root/talk_server_redis/dump.rdb /Users/kba/dev_dump0710.rdb
二、将本地文件上传到远程服务器
scp -i /Users/user/ssh/id_rsa /Users/kba/dev_dump0710.rdb root@192.168.1.8:/home/deploy/talk_server_redis/dump.rdb

fffffasdfasdfasdfasdfas;kdfjlaskl;dfjaskl;dfjakls;dfjkal;sfdjlaks;df als;dfj awkls;dfj asl;dfj aslk;dfjaskl;dfjas;ldf
访客评论