SCP

From ElectroDragon Wiki
Revision as of 00:45, 2 December 2019 by Chao (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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