{"id":522,"date":"2020-05-15T01:00:00","date_gmt":"2020-05-15T05:00:00","guid":{"rendered":"https:\/\/molecularsciences.org\/content\/?p=522"},"modified":"2021-01-02T01:02:18","modified_gmt":"2021-01-02T06:02:18","slug":"scp-secure-copy","status":"publish","type":"post","link":"https:\/\/molecularsciences.org\/content\/scp-secure-copy\/","title":{"rendered":"scp &#8211; secure copy"},"content":{"rendered":"\n<p>SCP allows file to be copied to, from, or between different hosts using ssh for data transfer.<\/p>\n\n\n\n<p>Copy files from remote computer to a local computer:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>scp username@www.xzy.com:~\/somefile.txt \/home\/local\/directory<\/code><\/pre>\n\n\n\n<p>Copy files from local computer to remote computer:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>scp \/home\/local\/directory\/somefile.txt username@www.xzy.com:~\/<\/code><\/pre>\n\n\n\n<p>Copy a directory &#8216;dir&#8217; from local computer to remote computer<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>scp -r \/home\/local\/dir username@www.xzy.com:~\/<\/code><\/pre>\n\n\n\n<p>SCP uses Triple-DES by default. To change cipher, use the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>scp -c blowfish username@www.xzy.com:~\/somefile.txt \/home\/local\/directory<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>SCP allows file to be copied to, from, or between different hosts using ssh for data transfer. Copy files from remote computer to a local computer: Copy files from local computer to remote computer: Copy a directory &#8216;dir&#8217; from local computer to remote computer SCP uses Triple-DES by default. To change cipher, use the following [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34],"tags":[35],"class_list":["post-522","post","type-post","status-publish","format-standard","hentry","category-linux","tag-linux"],"_links":{"self":[{"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/posts\/522","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/comments?post=522"}],"version-history":[{"count":1,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/posts\/522\/revisions"}],"predecessor-version":[{"id":523,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/posts\/522\/revisions\/523"}],"wp:attachment":[{"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/media?parent=522"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/categories?post=522"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/tags?post=522"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}