Highlighted
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor
115 views

[SSH Command] The results of v1.0 and v2.0 are different.

Jump to solution

Dears,

I use the following operations,the results of v1.0 and v2.0 are different.

/Base [1.15.0]/Library/Operations/Remote Command Execution/SSH/v1.0/SSH Command
/Base [1.15.0]/Library/Operations/Remote Command Execution/SSH/v2.0/SSH Command

Use the two operations above to make different flows, and specify the path that does not exist in "command" (such as bash /etc/test/test.sh)


V1.0 will return an error:

{exception=;SESSION_ON=true;returnCode=-1;STDERR=bash: /etc/test/test.sh: No such file or directory
;returnResult=bash: /etc/test/test.sh: No such file or directory
;STDOUT=;sessionId=;exitStatus=127;Result=bash: /etc/test/test.sh: No such file or directory
;}

but v2.0 shows success:

{SESSION_ON=true;returnCode=0;STDERR=bash: /etc/test/test.sh: No such file or directory
;returnResult=;TimedOut=false;STDOUT=;exitStatus=127;Result=;}

 

It seems that the returnCode is different,but I don't know the reason.

 

Thanks,

Tian

Labels (2)
Tags (2)
0 Likes
1 Solution

Accepted Solutions
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

回复: [SSH Command] The results of v1.0 and v2.0 are different.

Jump to solution

R&D has provided hotfix for this defect,

It also will be released in the future Base CP.

2 Replies
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

回复: [SSH Command] The results of v1.0 and v2.0 are different.

Jump to solution

R&D has provided hotfix for this defect,

It also will be released in the future Base CP.

Micro Focus Expert
Micro Focus Expert

回复: [SSH Command] The results of v1.0 and v2.0 are different.

Jump to solution
Kudos to Micro Focus ITOM Content R&D team!
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.