<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://k2.ixota.com/index.php?action=history&amp;feed=atom&amp;title=Linux%2Fscp</id>
	<title>Linux/scp - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://k2.ixota.com/index.php?action=history&amp;feed=atom&amp;title=Linux%2Fscp"/>
	<link rel="alternate" type="text/html" href="https://k2.ixota.com/index.php?title=Linux/scp&amp;action=history"/>
	<updated>2026-06-26T12:12:40Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.33.1</generator>
	<entry>
		<id>https://k2.ixota.com/index.php?title=Linux/scp&amp;diff=5244&amp;oldid=prev</id>
		<title>Kenneth: /* Copy path with spaces */</title>
		<link rel="alternate" type="text/html" href="https://k2.ixota.com/index.php?title=Linux/scp&amp;diff=5244&amp;oldid=prev"/>
		<updated>2019-12-10T23:50:06Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Copy path with spaces&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Recursive ==&lt;br /&gt;
&lt;br /&gt;
 scp -r local_path kenneth@remote_host:~/&lt;br /&gt;
&lt;br /&gt;
== Port ==&lt;br /&gt;
&lt;br /&gt;
 scp -P 9999 local_path kenneth@remote_host:~/&lt;br /&gt;
&lt;br /&gt;
== Copy path with spaces ==&lt;br /&gt;
&lt;br /&gt;
 scp -r myserver.com:&amp;quot;/path/with/a/Space\\ In\\ It&amp;quot; ./&lt;br /&gt;
&lt;br /&gt;
 scp -r myserver.com:&amp;quot;\&amp;quot;/path/with/a/Space In It\&amp;quot;&amp;quot; ./&lt;br /&gt;
&lt;br /&gt;
 scp kenneth@remote_host:&amp;quot;/my iso/en_ws_2003_ent_x64_vl.iso&amp;quot; .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
*[http://www.thingy-ma-jig.co.uk/blog/14-05-2007/how-to-scp-a-path-with-spaces How to SCP a path with spaces]&lt;br /&gt;
&lt;br /&gt;
== sshpass ==&lt;br /&gt;
&lt;br /&gt;
 # password in history:&lt;br /&gt;
 sshpass -p &amp;quot;password&amp;quot; scp -r user@example.com:/some/remote/path /some/local/path&lt;br /&gt;
&lt;br /&gt;
 # password not in bash history:&lt;br /&gt;
 sshpass -f &amp;quot;/path/to/passwordfile&amp;quot; scp -r user@example.com:/some/remote/path /some/local/path&lt;br /&gt;
&lt;br /&gt;
ref: [https://stackoverflow.com/questions/50096/how-to-pass-password-to-scp]&lt;/div&gt;</summary>
		<author><name>Kenneth</name></author>
		
	</entry>
</feed>