SSH Shell not able to read full command output.

  • KM03141915
  • 12-Apr-2018
  • 26-Apr-2021

Summary

SSH Shell not able to read full command output

Error

SSH Shell fails with
exception=com.hp.oo.content.ssh.exceptions.SSHException: java.io.IOException: java.net.SocketException: Software caused connection abort: socket write error
Instructions left: 0
 

Fix

Add the end of your command:

expectEndsWith $ 

So in this way the SSH Shell operation can retrieve the whole output even though is large.