
<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.thelinuxwiki.com/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.thelinuxwiki.com/index.php?action=history&amp;feed=atom&amp;title=rsync_version_mismatch</id>
		<title>rsync version mismatch - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.thelinuxwiki.com/index.php?action=history&amp;feed=atom&amp;title=rsync_version_mismatch"/>
		<link rel="alternate" type="text/html" href="http://www.thelinuxwiki.com/index.php?title=rsync_version_mismatch&amp;action=history"/>
		<updated>2026-04-29T01:28:52Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.21.5</generator>

	<entry>
		<id>http://www.thelinuxwiki.com/index.php?title=rsync_version_mismatch&amp;diff=1313&amp;oldid=prev</id>
		<title>Nighthawk: /* solution */</title>
		<link rel="alternate" type="text/html" href="http://www.thelinuxwiki.com/index.php?title=rsync_version_mismatch&amp;diff=1313&amp;oldid=prev"/>
				<updated>2019-10-27T17:13:53Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;solution&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 17:13, 27 October 2019&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 27:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 27:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;set the protocol number to match the older version of the sender&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;set the protocol number to match the older version of the sender&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; $ '''rsync -avh -e ssh --progress --protocol--rsync-path=/usr/local/bin/rsync admin@remotehost:/home/johnsmith/bin/test.csv ./'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; $ '''rsync -avh -e ssh --progress --protocol&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;=26 &lt;/ins&gt;--rsync-path=/usr/local/bin/rsync admin@remotehost:/home/johnsmith/bin/test.csv ./'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; receiving file list ...&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; receiving file list ...&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; 1 file to consider&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; 1 file to consider&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Nighthawk</name></author>	</entry>

	<entry>
		<id>http://www.thelinuxwiki.com/index.php?title=rsync_version_mismatch&amp;diff=1074&amp;oldid=prev</id>
		<title>Nighthawk: Created page with &quot;==problem==  rsync transfers are failing due to a version mismatch  sender: 2.5.7 &lt;br&gt;receiver: 3.1.2  command run  $ '''rsync -avh -e ssh --progress --rsync-path=/usr/local/b...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.thelinuxwiki.com/index.php?title=rsync_version_mismatch&amp;diff=1074&amp;oldid=prev"/>
				<updated>2017-04-29T02:08:47Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;==problem==  rsync transfers are failing due to a version mismatch  sender: 2.5.7 &amp;lt;br&amp;gt;receiver: 3.1.2  command run  $ &amp;#039;&amp;#039;&amp;#039;rsync -avh -e ssh --progress --rsync-path=/usr/local/b...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==problem==&lt;br /&gt;
&lt;br /&gt;
rsync transfers are failing due to a version mismatch&lt;br /&gt;
&lt;br /&gt;
sender: 2.5.7&lt;br /&gt;
&amp;lt;br&amp;gt;receiver: 3.1.2&lt;br /&gt;
&lt;br /&gt;
command run&lt;br /&gt;
 $ '''rsync -avh -e ssh --progress --rsync-path=/usr/local/bin/rsync admin@remotehost:/home/johnsmith/bin/test.csv ./'''&lt;br /&gt;
 This system is to be used by authorized Engineering personnel&lt;br /&gt;
 only.  Individuals using this computer system without authority,&lt;br /&gt;
 or in excess of their authority, are subject to having all activities&lt;br /&gt;
 monitored and recorded by system personnel.&lt;br /&gt;
 admin@remotehosts's password:&lt;br /&gt;
 protocol version mismatch - is your shell clean?&lt;br /&gt;
 (see the rsync man page for an explanation)&lt;br /&gt;
 rsync error: protocol incompatibility (code 2) at compat.c(62)&lt;br /&gt;
 rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]&lt;br /&gt;
 rsync error: error in rsync protocol data stream (code 12) at io.c(226) [Receiver=3.1.2]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==solution==&lt;br /&gt;
&lt;br /&gt;
get the protocol number of sender&lt;br /&gt;
 $ '''rsync --version | grep protocol'''&lt;br /&gt;
 rsync  version 2.5.7  protocol version 26&lt;br /&gt;
&lt;br /&gt;
set the protocol number to match the older version of the sender&lt;br /&gt;
 $ '''rsync -avh -e ssh --progress --protocol--rsync-path=/usr/local/bin/rsync admin@remotehost:/home/johnsmith/bin/test.csv ./'''&lt;br /&gt;
 receiving file list ...&lt;br /&gt;
 1 file to consider&lt;br /&gt;
 rules_test.csv&lt;br /&gt;
          4.09K 100%    3.90MB/s    0:00:00 (xfr#1, to-chk=0/1)&lt;br /&gt;
&lt;br /&gt;
 sent 32 bytes  received 4.18K bytes  936.89 bytes/sec&lt;br /&gt;
 total size is 4.09K  speedup is 0.97&lt;br /&gt;
&lt;br /&gt;
Yay! it works!&lt;br /&gt;
&lt;br /&gt;
[[category:rsync]]&lt;br /&gt;
[[category:backup]]&lt;/div&gt;</summary>
		<author><name>Nighthawk</name></author>	</entry>

	</feed>