<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	
	>
<channel>
	<title>
	Comments on: How to Fix SSH Client_loop: send disconnect: Broken pipe Error	</title>
	<atom:link href="https://www.tecmint.com/client_loop-send-disconnect-broken-pipe/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tecmint.com/client_loop-send-disconnect-broken-pipe/</link>
	<description>Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks.</description>
	<lastBuildDate>Mon, 19 May 2025 04:53:11 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Ravi Saive		</title>
		<link>https://www.tecmint.com/client_loop-send-disconnect-broken-pipe/comment-page-1/#comment-2308374</link>

		<dc:creator><![CDATA[Ravi Saive]]></dc:creator>
		<pubDate>Mon, 19 May 2025 04:53:11 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=51513#comment-2308374</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/client_loop-send-disconnect-broken-pipe/comment-page-1/#comment-2307937&quot;&gt;Gudrun&lt;/a&gt;.

@Gudrun,

SSH has always used sockets (specifically TCP sockets), so that’s not new. It’s more likely that your update changed how idle connections are handled, possibly due to OpenSSH, systemd, or firewall updates.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/client_loop-send-disconnect-broken-pipe/comment-page-1/#comment-2307937">Gudrun</a>.</p>
<p>@Gudrun,</p>
<p>SSH has always used sockets (specifically TCP sockets), so that’s not new. It’s more likely that your update changed how idle connections are handled, possibly due to OpenSSH, systemd, or firewall updates.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Gudrun		</title>
		<link>https://www.tecmint.com/client_loop-send-disconnect-broken-pipe/comment-page-1/#comment-2307937</link>

		<dc:creator><![CDATA[Gudrun]]></dc:creator>
		<pubDate>Sat, 17 May 2025 11:14:04 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=51513#comment-2307937</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/client_loop-send-disconnect-broken-pipe/comment-page-1/#comment-2118993&quot;&gt;Wastrel&lt;/a&gt;.

is this maybe because SSH uses sockets now?]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/client_loop-send-disconnect-broken-pipe/comment-page-1/#comment-2118993">Wastrel</a>.</p>
<p>is this maybe because SSH uses sockets now?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ray Kooyenga		</title>
		<link>https://www.tecmint.com/client_loop-send-disconnect-broken-pipe/comment-page-1/#comment-2251862</link>

		<dc:creator><![CDATA[Ray Kooyenga]]></dc:creator>
		<pubDate>Sat, 14 Dec 2024 05:36:33 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=51513#comment-2251862</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/client_loop-send-disconnect-broken-pipe/comment-page-1/#comment-2234252&quot;&gt;Supritam&lt;/a&gt;.

Hey fellas, I&#039;ve had this issue come up too. Changing some of the values client-side even made it worse, and I started getting logged out every couple of minutes. 

Here&#039;s what I did to solve it. 

The difference was made by these values in &lt;code&gt;sshd_config&lt;/code&gt;:

Remote sshd_config:
&lt;pre&gt;
TCPKeepAlive yes  
ClientAliveInterval 60  
ClientAliveCountMax 3  
&lt;/pre&gt;
Local ssh/config:
&lt;pre&gt;
Host *  
    ServerAliveInterval 2000  
    TCPKeepAlive yes  
    ServerAliveCountMax 3  
    Compression yes  
&lt;/pre&gt;
Ubuntu 22.04 servers, ChromeOS/Ubuntu local.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/client_loop-send-disconnect-broken-pipe/comment-page-1/#comment-2234252">Supritam</a>.</p>
<p>Hey fellas, I&#8217;ve had this issue come up too. Changing some of the values client-side even made it worse, and I started getting logged out every couple of minutes. </p>
<p>Here&#8217;s what I did to solve it. </p>
<p>The difference was made by these values in <code>sshd_config</code>:</p>
<p>Remote sshd_config:</p>
<pre>
TCPKeepAlive yes  
ClientAliveInterval 60  
ClientAliveCountMax 3  
</pre>
<p>Local ssh/config:</p>
<pre>
Host *  
    ServerAliveInterval 2000  
    TCPKeepAlive yes  
    ServerAliveCountMax 3  
    Compression yes  
</pre>
<p>Ubuntu 22.04 servers, ChromeOS/Ubuntu local.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Supritam		</title>
		<link>https://www.tecmint.com/client_loop-send-disconnect-broken-pipe/comment-page-1/#comment-2234252</link>

		<dc:creator><![CDATA[Supritam]]></dc:creator>
		<pubDate>Mon, 28 Oct 2024 09:11:19 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=51513#comment-2234252</guid>

					<description><![CDATA[Still, my issue is not resolved. The same error occurs even after entering the same details.]]></description>
			<content:encoded><![CDATA[<p>Still, my issue is not resolved. The same error occurs even after entering the same details.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Peter		</title>
		<link>https://www.tecmint.com/client_loop-send-disconnect-broken-pipe/comment-page-1/#comment-2199017</link>

		<dc:creator><![CDATA[Peter]]></dc:creator>
		<pubDate>Mon, 05 Aug 2024 16:53:39 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=51513#comment-2199017</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/client_loop-send-disconnect-broken-pipe/comment-page-1/#comment-2118993&quot;&gt;Wastrel&lt;/a&gt;.

Good question. “&lt;code&gt;TCPKeepAlive yes&lt;/code&gt;” in the config file solved my problem.

I&#039;ve got the &quot;&lt;strong&gt;client_loop: send disconnect: Broken pipe&lt;/strong&gt;&quot; message each time I rebooted the remote server after an upgrade to Ubuntu 24.04. “&lt;code&gt;TCPKeepAlive yes&lt;/code&gt;” in the config file brought back the former behaviour.

Of course, this was not a big issue, but a little bit annoying, because I expected something wrong in my network setup that could negatively affect other users.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/client_loop-send-disconnect-broken-pipe/comment-page-1/#comment-2118993">Wastrel</a>.</p>
<p>Good question. “<code>TCPKeepAlive yes</code>” in the config file solved my problem.</p>
<p>I&#8217;ve got the &#8220;<strong>client_loop: send disconnect: Broken pipe</strong>&#8221; message each time I rebooted the remote server after an upgrade to Ubuntu 24.04. “<code>TCPKeepAlive yes</code>” in the config file brought back the former behaviour.</p>
<p>Of course, this was not a big issue, but a little bit annoying, because I expected something wrong in my network setup that could negatively affect other users.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
