meallhour Contributor.
Contributor.
274 views

Unsupported operation while running "SSH Shell"

I am getting unsupported operation while running "SSH Shell" operation but getting following error

(exception=java.lang.Exception: unsupported operation: Script:currently on line: 7
1 expectEndsWith $2 send pmrun su -3 expectEndsWith #4 send mkdir -p /tmp/bmp5 expectEndsWith #6 send echo "04797 047A8 047B9 047C10 047D" > /tmp/bmp/luns-asm-ASMOCR11 expectEndsWith #12 send echo "047E13 047F" > /tmp/bmp/luns-asm-ASMFRA14 expectEndsWith #15 send echo "" > /tmp/bmp/luns-asm-ASMGG16 expectEndsWith #17 send echo "" > /tmp/bmp/luns-asm-ASMDBFS

 

0 Likes
2 Replies
AndreiTruta Outstanding Contributor.
Outstanding Contributor.

Re: Unsupported operation while running "SSH Shell"

I think you should try to narrow it to the actual command out of this script that does not work.

I can only assume that if you are running one command at a time it will work. is that right? Is the SSH Shell working in your environment with a rather smaller scenario/use-case?

Do you happen to have more information within the logs? 

What is there exactly on line 7?

 

Andrei Vasile Truta
0 Likes
Outstanding Contributor.. JarodMB Outstanding Contributor..
Outstanding Contributor..

Re: Unsupported operation while running "SSH Shell"

The output provided is missing several lines including the offending line (line 7). 

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.