<?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>SSH Connection Reset By Peer &#8211; Harry Jackson</title>
	<atom:link href="http://127.0.0.1:8090/tag/ssh-connection-reset-by-peer/feed" rel="self" type="application/rss+xml" />
	<link>http://127.0.0.1:8090</link>
	<description>Parent, Painter, Programmer</description>
	<lastBuildDate>Sun, 25 Mar 2007 09:14:50 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>SSH Connection Reset By Peer</title>
		<link>http://127.0.0.1:8090/ssh_connection_reset_by_peer.htm</link>
					<comments>http://127.0.0.1:8090/ssh_connection_reset_by_peer.htm#respond</comments>
		
		<dc:creator><![CDATA[harry]]></dc:creator>
		<pubDate>Sun, 25 Mar 2007 09:14:50 +0000</pubDate>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[SSH Connection Reset By Peer]]></category>
		<guid isPermaLink="false">http://www.hjackson.org/wp/?p=321</guid>

					<description><![CDATA[If ever you see the following when using SSH and it all seems inexplicable. Read from remote host www.somehwhere.com: Connection reset by peer There may be a quick cure (caveat, your mileage may vary). Some routers, i.e. Linksys WRT54G will close a connecting that does not appear busy. So far I have found that if &#8230; <p class="link-more"><a href="http://127.0.0.1:8090/ssh_connection_reset_by_peer.htm" class="more-link">Continue reading<span class="screen-reader-text"> "SSH Connection Reset By Peer"</span></a></p>]]></description>
										<content:encoded><![CDATA[<p>If ever you see the following when using SSH and it all seems inexplicable.<br />
<b>Read from remote host www.somehwhere.com: Connection reset by peer</b><br />
There may be a quick cure (caveat, your mileage may vary). Some routers, i.e. Linksys WRT54G will close a connecting that does not appear busy. So far I have found that if I add<br />
ServerAliveInterval = 300<br />
ServerAliveCountMax = 300<br />
to my /etc/ssh/ssh_config file then everything is fine.<br />
Basically we are send a message to the server every &#8220;ServerAliveInterval&#8221; seconds and if the client has not had a response after &#8220;ServerAliveCountMax&#8221; messages then the connection will disconnect. This makes the connection look active to hardware that thinks it&#8217;s doing you a favour by disconnecting idle connections.<br />
see &#8220;man ssh_config&#8221; for more details.<br />
I have also noticed the following method but have not tried it<br />
echo 300 &gt; /proc/sys/net/ipv4/tcp_keepalive_time</p>
]]></content:encoded>
					
					<wfw:commentRss>http://127.0.0.1:8090/ssh_connection_reset_by_peer.htm/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
