<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>remote copy &#8211; lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</title>
	<atom:link href="https://lifelinux.com/tag/remote-copy/feed/" rel="self" type="application/rss+xml" />
	<link>https://lifelinux.com</link>
	<description>All About Linux !</description>
	<lastBuildDate>Thu, 25 Nov 2010 02:45:49 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.5.3</generator>
	<item>
		<title>scp Command: Remote File Copy</title>
		<link>https://lifelinux.com/scp-command-remote-file-copy/</link>
					<comments>https://lifelinux.com/scp-command-remote-file-copy/#comments</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Thu, 25 Nov 2010 01:59:18 +0000</pubDate>
				<category><![CDATA[Bash Shell]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[copy between servers]]></category>
		<category><![CDATA[linux remote copy]]></category>
		<category><![CDATA[remote copy]]></category>
		<category><![CDATA[remote file copy]]></category>
		<category><![CDATA[scp command]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=167</guid>

					<description><![CDATA[<p>Some times you need to copy files or entire contents of directory to another machine, you can use scp command. scp command uses SSH data transfers, so it requires a password or passphrase for authentication. The syntax for scp command scp [option] [user1@server1]:[source] [user2@server2]:[destination] For example If user user1 on a computer called server1 and [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://lifelinux.com/scp-command-remote-file-copy/">scp Command: Remote File Copy</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><p>Some times you need to copy files or entire contents of directory to another machine, you can use <strong>scp command</strong>. scp command uses SSH data transfers, so it requires a password or passphrase for authentication.<span id="more-167"></span></p>
<h2>The syntax for scp command</h2>
<pre>scp [option] [user1@server1]:[source] [user2@server2]:[destination]
</pre>
<h2>For example</h2>
<p>If user user1 on a computer called server1 and wants to copy a file called mydata.txt to a directory called backup in his account on a computer called server2, he would enter:</p>
<pre>[user1@server1]$ scp mydata.txt user1@server2:/backup
mydata.txt                                    100%   11     0.0KB/s   00:00
</pre>
<p>If he wanted to copy entire contents of directory called backup on server2 back to server 1, he would enter:</p>
<pre>[user1@server1]$ scp -r user1@server2:/backup /backup
mydata.txt                                    100%   11     0.0KB/s   00:00
mydata1.txt                                    100%   11     0.0KB/s   00:00
</pre>
<h2>scp command with <a href="http://www.lifelinux.com/setting-up-an-ssh-certificate/">SSH certificate</a></h2>
<p>If you wanted to remote file copy without password authentication for automate your tasks or automate backup, you can uses SSH certificate. For above example, type the following command:</p>
<pre>scp -r -i /path_to_private_key user1@server2:/backup /backup
</pre>
<h2>For more information about scp command</h2>
<p>At the prompt enter:</p>
<pre>man scp
</pre>
<g:plusone href="https://lifelinux.com/scp-command-remote-file-copy/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="https://lifelinux.com/scp-command-remote-file-copy/">scp Command: Remote File Copy</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lifelinux.com/scp-command-remote-file-copy/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
