<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><entry xmlns='http://www.w3.org/2005/Atom' xmlns:georss='http://www.georss.org/georss'><id>tag:blogger.com,1999:blog-6955042.post-2024048354163752404</id><published>2007-09-24T00:28:00.000-07:00</published><updated>2007-09-24T00:39:58.760-07:00</updated><title type='text'>ssh_exchange_identification: Connection closed by remote host</title><content type='html'>This sometimes happens on my long-running RHEL4 server that has lot of ssh traffic. It happens unexpectedly, and no log entries are produced.&lt;br /&gt;As mentioned in &lt;a href="http://www.raditha.com/blog/archives/000604.html"&gt;The Site With the Lamp&lt;/a&gt;, this seems to be a problem with too much (old?) ssh connections. &lt;br /&gt;&lt;br /&gt;But the solution recommended there (waiting) is usually not meeting my needs, I need an immediate solution.  &lt;br /&gt;/etc/init.d/sshd restart does not work, but a simple &lt;br /&gt;killall -9 sshd&lt;br /&gt;followed by a&lt;br /&gt;/etc/init.d/sshd start&lt;br /&gt;saves the day!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6955042-2024048354163752404?l=unixadminsdiary.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://unixadminsdiary.blogspot.com/feeds/2024048354163752404/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=6955042&amp;postID=2024048354163752404' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6955042/posts/default/2024048354163752404'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6955042/posts/default/2024048354163752404'/><link rel='alternate' type='text/html' href='http://unixadminsdiary.blogspot.com/2007/09/sshexchangeidentification-connection.html' title='ssh_exchange_identification: Connection closed by remote host'/><author><name>Blue.Balloon</name><uri>http://www.blogger.com/profile/13243598108616566239</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='15453865500798053582'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry>