SCP

From ElectroDragon
Jump to navigation Jump to search

Between VPS

  • Zip file first: zip -r file.zip file_folder

get

  • Use SCP: scp root@dl.electrodragon.com:/var/www/html/k/data/User/admin/home/soft.zip
  • scp -r root@dl.electrodragon.com:/var/www/html/k/data/User/admin/home/Wiki .

example

  • scp -P 20139 root@45.63.38.111:/srv/www/b.tar.gz b.tar.gz