Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
Unix server discovery fails with error The ChannelOutputStream is closed! - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Unix server discovery fails with error The ChannelOutputStream is closed!
KB0863098

Unix server discovery fails with error The ChannelOutputStream is closed!


908 Views Last updated : Jul 24, 2025 public Copy Permalink
KB Summary by Now Assist

Issue

  • Unix Classification fails with the below error message.
    <results probe_time="2759960" result_code="0">

    <result id="6f10ed420a0a0b7e490" name="sh ${file:esx.sh}" order="1" topic="SSHCommand">

    <results error="The ChannelOutputStream is closed! The ChannelOutputStream is closed!" probe_time="460462" result_code="900000">

    <result error="The ChannelOutputStream is closed! The ChannelOutputStream is closed!">

    </result>

    <parameters>

    <parameter name="mid_selector_details" value="{"mode":"specific_mid"}"/>

    <parameter name="discover" value="CIs"/>

    <parameter name="agent" value="midserver"/>

    <parameter name="glide.xmlhelper.trim.enable" value="true"/>

    <parameter name="use_class" value="discovery_classy_unix"/>

    <parameter name="source" value="10.10.10.10"/>

    <parameter name="priority" value="0"/>

    <parameter name="use_snc_ssh" value="false"/>

Release

  • Instance enabled with Discovery plugin.

Cause

  • SNC SSH is not enabled on the mid server used for discovery or the probe used for discovery.

Resolution

  • In the Unix Classification probe, 'use_snc_ssh' probe parameter is set to false.
  • Set the 'use_snc_ssh' probe parameter to true to enable the SNC SSH Client.
  • In the mid server used for discovery, validate the mid server configurations, if the mid.ssh.use_snc is set to false.
  • Enable the SNC SSH Client by setting the parameter - 'mid.ssh.use_snc' to true.
  • Once the SNC SSH Client is enabled, restart the mid server, re-discover the Unix server it would be successfully discovered.

Related Links

  • Enabling SNC SSH to support newer and more secure cipher algorithms for the Discovery process (i.e AES 256 encryption)

The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

Attachments

Attachments

No attachments found

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.