User Tools

Site Tools


howto_scp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

howto_scp [2012/11/05 11:07] (current)
einarpetersen created
Line 1: Line 1:
 +====== Secure copy SCP under Linux ======
  
 +Making a secure copy from / to site - and let's face it FTP is dead dead dead - If you have not done so it already then drop FTP
 +
 +
 +It could basically not be simpler - once ssh is in place on your system and web server just write:
 +
 +<​code>​
 +
 +COPY TO SITE:
 +
 +scp ./​somefilename.* username@example.com:​exampledirectory/​
 +
 +
 +COPY FROM SITE:
 +
 +scp usernamee@example.com:​exampledirectory/​filename.* ./
 +
 +</​code>​
 +<​HTML>​
 +
 +<!-- AddThis Button BEGIN -->
 +<a class="​addthis_button"​ href="​http://​addthis.com/​bookmark.php?​v=250&​amp;​username=xa-4beeaaab61b514bf"><​img src="​http://​s7.addthis.com/​static/​btn/​v2/​lg-share-en.gif"​ width="​125"​ height="​16"​ alt="​Bookmark and Share" style="​border:​0"/></​a><​script type="​text/​javascript"​ src="​http://​s7.addthis.com/​js/​250/​addthis_widget.js#​username=xa-4beeaaab61b514bf"></​script>​
 +<!-- AddThis Button END -->
 +
 +</​HTML>​
howto_scp.txt ยท Last modified: 2012/11/05 11:07 by einarpetersen