Open jingxinxin opened 6 years ago
采用scp命令
scp文件名 --用户名 @IP或者名称 :远程路径
scp /home/test.ora root@10.138.130.29:/home/root
scp --用户名 @IP或者名称 :文件名 本地路径
scp root@10.138.130.29:/home/root /home/test.ora
scp -r 目录名 用 户名 @IP或者名称 :远程路径
scp -r /home/test.ora root@10.138.130.29:/home/root
scp -r 用户名 @IP或者名称 :目录名 本地路径
scp -r root@10.138.130.29:/home/root /home/
采用scp命令
scp /home/test.ora root@10.138.130.29:/home/root
scp root@10.138.130.29:/home/root /home/test.ora
scp -r /home/test.ora root@10.138.130.29:/home/root
scp -r root@10.138.130.29:/home/root /home/