<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: “ssh_exchange_identification: read: Connection reset by peer” in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/ssh-exchange-identification-read-Connection-reset-by-peer/m-p/133520#M29188</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe this has nothing to do with APIS in the first place. Can you please remove the tag ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rakshith&lt;/P&gt;</description>
    <pubDate>Thu, 10 Aug 2017 04:00:44 GMT</pubDate>
    <dc:creator>Raks</dc:creator>
    <dc:date>2017-08-10T04:00:44Z</dc:date>
    <item>
      <title>“ssh_exchange_identification: read: Connection reset by peer”</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/ssh-exchange-identification-read-Connection-reset-by-peer/m-p/133518#M29187</link>
      <description>&lt;P&gt;We are attempting to automate the creation of qtrees/shares in an effort to migrate ~2500 shares from other storage to Netapp.&lt;/P&gt;&lt;P&gt;The script that I’m running to do the automated share creation uses ssh commands to our primary CDOT cluster. My script creates the first 5 qtree/share correctly&lt;/P&gt;&lt;P&gt;but then the ssh connection drops with a&lt;STRONG&gt;&lt;FONT color="#ff0000"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;“ssh_exchange_identification: read: Connection reset by peer”&lt;/FONT&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;error (see below). What I’m trying to determine is why the&lt;BR /&gt;ssh connection to the filer fails. Is it too many ssh connections, or something like that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: all the line with starting with + successfully completed and 5 -6 shares were successfully processed prior to the ssh reset&lt;/P&gt;&lt;P&gt;+ read -u 5 name&lt;/P&gt;&lt;P&gt;+ print 531001&lt;/P&gt;&lt;P&gt;531001&lt;/P&gt;&lt;P&gt;+ check_input_vars&lt;/P&gt;&lt;P&gt;+ print 'valid share name 531001'&lt;/P&gt;&lt;P&gt;valid share name 531001&lt;/P&gt;&lt;P&gt;+ sync&lt;/P&gt;&lt;P&gt;+ sync&lt;/P&gt;&lt;P&gt;+ sync&lt;/P&gt;&lt;P&gt;+ return 0&lt;/P&gt;&lt;P&gt;+ [ 0 -eq 0 ]&lt;/P&gt;&lt;P&gt;+ create_qtree&lt;/P&gt;&lt;P&gt;+ print 'Creating qtree 531001'&lt;/P&gt;&lt;P&gt;Creating qtree 531001&lt;/P&gt;&lt;P&gt;+ sync&lt;/P&gt;&lt;P&gt;+ sync&lt;/P&gt;&lt;P&gt;+ sync&lt;/P&gt;&lt;P&gt;+ ssh 172.16.250.34 -l naadmin 'qtree create -vserver WCSFS00 -volume med1 -qtree 531001 -security-style ntfs -oplock-mode enable'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;+ sleep 5&lt;/P&gt;&lt;P&gt;+ return 0&lt;/P&gt;&lt;P&gt;+ [ 0 -eq 0 ]&lt;/P&gt;&lt;P&gt;+ create_share&lt;/P&gt;&lt;P&gt;+ print 'Creating share 531001'&lt;/P&gt;&lt;P&gt;Creating share 531001&lt;/P&gt;&lt;P&gt;+ sync&lt;/P&gt;&lt;P&gt;+ sync&lt;/P&gt;&lt;P&gt;+ sync&lt;/P&gt;&lt;P&gt;+ ssh 172.16.250.34 -l naadmin 'share create -vserver WCSFS00 -share-name 531001 -path /med1/531001 -share-properties showsnapshot,access-based-enumeration,oplocks,browsable,changenotify'&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;&lt;STRONG&gt;ssh_exchange_identification: read: Connection reset by peer&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;+ sleep 5&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 14:44:54 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/ssh-exchange-identification-read-Connection-reset-by-peer/m-p/133518#M29187</guid>
      <dc:creator>pagluiso</dc:creator>
      <dc:date>2025-06-04T14:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: “ssh_exchange_identification: read: Connection reset by peer”</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/ssh-exchange-identification-read-Connection-reset-by-peer/m-p/133520#M29188</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe this has nothing to do with APIS in the first place. Can you please remove the tag ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rakshith&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2017 04:00:44 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/ssh-exchange-identification-read-Connection-reset-by-peer/m-p/133520#M29188</guid>
      <dc:creator>Raks</dc:creator>
      <dc:date>2017-08-10T04:00:44Z</dc:date>
    </item>
  </channel>
</rss>

