---
sourceDocument: Yokohama IT Operations Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/it-operations-management

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# SSHCommand probe

# SSHCommand probe {#ariaid-title1}

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

A probe using the ECC queue topic name SSHCommand executes a shell
command on the target host, and returns the resulting output to the sensor.

Discovery supports Bourne Shell (sh) and
Bourne-again Shell (bash) commands. Enter shell script commands in the probe's ECC queue name field. The shell script can use variables and file operations supported by the
target UNIX shell.  
* The SSH engine is active by default on new instances.
* Customers on upgraded instances can manually enable ServiceNow SSH for a particular probe by setting the use_snc_ssh parameter to true. Alternatively, enable it for all probes on the MID Server by setting the MID Server parameter mid.ssh.use_snc to true.
{#c_SSHCommandProbe__ul_ht4_fbm_vp}  
Note:  
To discover network devices, such as routers and switches, use [SNMP credentials](https://www.servicenow.com/docs/access?context=c_SNMPCredentials&version=yokohama&pubname=yokohama-platform-security&ft:locale=en-US) credentials, not SSH credentials.
* **[SSHCommand parameters](https://servicenow-prod.fluidtopics.net/LMrmEQ~j1y~R9R8FWxLy3g)**   
  Several parameters are available for the SSHCommand probe.
* **[SSHCommand path](https://servicenow-prod.fluidtopics.net/YsyIDkVPRlqKSAMUU0DHRw)**   
  The SSHCommand probe computes the default path from the following sources.
* **[Shell script options](https://servicenow-prod.fluidtopics.net/YU1luLNdPjBgiduMb_Dh7A)**   
  The SSHCommand probe supports the following scripting options in the ECC queue name field.
* **[Non-privileged SSH commands during probe-based discovery](https://servicenow-prod.fluidtopics.net/2r4DfPWh_GyitJ0xhfbELg)**   
  These tables display the SSH commands run by Discovery probes on target devices during horizontal discovery. These SSH commands don't require elevated privileges to run.
* **[Privileged SSH commands for probe-based discovery](https://servicenow-prod.fluidtopics.net/9zRLtV44HUO12jMk5mJ1Rw)**   
  These tables display the SSH commands run by Discovery probes during horizontal discovery. These SSH commands require elevated privileges to run.

