Linux(CentOS7)下远程拷贝文件,scp命令

一、Linux版本

二、scp命令

scp [参数] [原路径] [目标路径]

scp -P 22022 /home/file.war root@192.168.253.172:/home/test

以上是将本机home目录下的file.war文件远程拷贝到IP为192.168.253.172,端口为22022的机器上的/home/test目录下。

posted @ 2019-02-20 14:05  LukeFan  阅读(8433)  评论(0编辑  收藏  举报