<h2>Unix server discovery fails with error The ChannelOutputStream is closed!</h2><br/><div style="overflow-x:auto"><article><div ><h3 >Issue </h3><section><ul style="list-style-position: inside;"><li>Unix Classification fails with the below error message.<br /> <pre><results probe_time="2759960" result_code="0"><br /><br /><result id="6f10ed420a0a0b7e490" name="sh ${file:esx.sh}" order="1" topic="SSHCommand"><br /><br /><results error="The ChannelOutputStream is closed! The ChannelOutputStream is closed!" probe_time="460462" result_code="900000"><br /><br /><result error="The ChannelOutputStream is closed! The ChannelOutputStream is closed!"><br /><br /></result><br /><br /><parameters><br /><br /><parameter name="mid_selector_details" value="{"mode":"specific_mid"}"/><br /><br /><parameter name="discover" value="CIs"/><br /><br /><parameter name="agent" value="midserver"/><br /><br /><parameter name="glide.xmlhelper.trim.enable" value="true"/><br /><br /><parameter name="use_class" value="discovery_classy_unix"/><br /><br /><parameter name="source" value="10.10.10.10"/><br /><br /><parameter name="priority" value="0"/><br /><br /><parameter name="use_snc_ssh" value="false"/></pre> </li></ul></section></div><div ><h3 >Release</h3><section><ul style="list-style-position: inside;"><li>Instance enabled with Discovery plugin.</li></ul></section></div><div ><h3 >Cause</h3><section><ul style="list-style-position: inside;"><li>SNC SSH is not enabled on the mid server used for discovery or the probe used for discovery.</li></ul></section></div><div ><h3 >Resolution</h3><section><ul style="list-style-position: inside;"><li>In the Unix Classification probe, 'use_snc_ssh' probe parameter is set to false.</li><li>Set the 'use_snc_ssh' probe parameter to true to enable the SNC SSH Client.</li><li>In the mid server used for discovery, validate the mid server configurations, if the mid.ssh.use_snc is set to false.</li><li>Enable the SNC SSH Client by setting the parameter - 'mid.ssh.use_snc' to true.</li><li>Once the SNC SSH Client is enabled, restart the mid server, re-discover the Unix server it would be successfully discovered.</li></ul></section></div><div ><h3 >Related Links</h3><section><div> <ul style="list-style-position: inside;"><li id="articleTitleReadonly"><a title="Enabling SNC SSH to support newer and more secure cipher algorthms for the Discovery process (i.e AES 256 encryption)" href="https://support.servicenow.com/kb_view.do?sysparm_article=KB0748632" target="_blank" rel="noopener noreferrer">Enabling SNC SSH to support newer and more secure cipher algorithms for the Discovery process (i.e AES 256 encryption)</a></li></ul> </div></section></div></article></div>