li-mei

除了用filezilla这样的软件实现本地与服务器文件互传,也可用命令,window下常用xshell这样的命令编辑器

有时filezilla传文件会出现些问题,这时候常用scp命令

linux与linux互传:

本地到远程主机:scp local_file remote_username@remote_ip:remote_file
                      scp -r local_folder remote_username@remote_ip:remote_folder

远程主机到本地scp root@www.cumt.edu.cn:/home/root/others/music /home/space/music/1.mp3 
                       scp -r www.cumt.edu.cn:/home/root/others/ /home/space/music/

window与linux互传:

         使用xshell登录到远程服务器后查看是否安装了sz rz命令,输入rpm -qa|grep  sz和 rpm -qa|grep  rz出现版本号即已安装,否则用yum install sz和yum install rz安装。

        win->linux:输入rz即弹出文件选择框

        linux->win:输入sz filename即弹出存放路径选择框

分类:

技术点:

相关文章:

  • 2021-12-03
  • 2021-12-25
  • 2021-11-22
  • 2021-12-24
  • 2021-05-03
  • 2021-12-20
  • 2021-10-06
猜你喜欢
  • 2022-12-23
  • 2021-12-03
  • 2021-11-23
  • 2021-04-27
  • 2022-02-15
  • 2021-12-03
  • 2021-12-07
相关资源
相似解决方案