Difference between revisions of "SCP"

From ElectroDragon
Jump to navigation Jump to search
 
Line 3: Line 3:
 
get  
 
get  
 
* Use SCP: scp root@dl.electrodragon.com:/var/www/html/k/data/User/admin/home/soft.zip  
 
* 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 .
 
* 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
  
 
[[category: Linux]]
 
[[category: Linux]]

Latest revision as of 11:45, 1 December 2019

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