一、Linux版本

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

二、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目录下。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-18
  • 2021-05-22
  • 2022-12-23
  • 2021-12-18
猜你喜欢
  • 2021-07-16
  • 2021-09-11
  • 2022-01-02
  • 2022-12-23
  • 2022-12-23
  • 2021-12-18
  • 2021-12-18
相关资源
相似解决方案