Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

SSH on Cisco device throwing error - Unsupported shell 'IOS.sh''

Aswin5
Tera Expert

We have a simple ssh command running on a cisco device to collect data (not Discovery, just regular SSH activity block). But it is erroring out -

Unsupported shell 'IOS.sh''. Supported shells are [tcsh, csh, ksh, sh, IOS.sh, bash], and Bourne compatible shells in that list are specified by 'mid.ssh.shells_supported' (defaults to [ksh,sh,bash]).

 

I have added the mid server param 'mid.ssh.shells_supported' to include all the supported values. But still getting error. The SSH command works directly from the mid server VM. It is just not working when run from ServiceNow via mid server.

 

Has anyone resolved this error ?

1 REPLY 1

Premk0767232861
Tera Contributor

Are you using discovery probe to run the command or ssh step ?
if you are discovery probe add this parameter "allow_unsupported_shells "  and set it to true in the "Probe Parameters" related list.
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0855650