VMware Aria Automation Orchestrator

 View Only
  • 1.  Run SSH Command Error

    Posted Apr 10, 2023 05:34 PM

    Hi,

    I'm trying to run a ssh command using the Run SSH Command Workflow. The destination server is a Red Hat 9. If the SSH Policy at the RH9 server is set to Legacy the connection is successful, but if the Policy is set to the Default there is an error:  InternalError: Session.connect: java.io.IOException: End of IO Stream Read. I'm running vRO 8.11.2

    Does anyone know how to solve this?

    thanks.

     

     



  • 2.  RE: Run SSH Command Error

    Posted Apr 11, 2023 02:13 PM

    What user account are you connecting via SSH to the target as? 

    eoinbyrne_0-1681222305867.png

    Does it work as any other user when policy is Default?



  • 3.  RE: Run SSH Command Error

    Posted Apr 11, 2023 04:12 PM

    Hi,

    I'm not using root user. I can connect via ssh from vRO server command line using the same user. I only get the error when trying to connect using the workflow. 



  • 4.  RE: Run SSH Command Error

    Posted Apr 12, 2023 08:49 AM

    Login to RH9 as root and run this command to see what the SSHD thinks is happening after a workflow fails

    # journalctl _COMM=sshd



  • 5.  RE: Run SSH Command Error

    Posted Oct 09, 2023 08:25 PM

    I was having the same issue and working with my Linux admin figured the issue and resolved. RHEL 7/8 work just fine but seem as pointed out there is a change in cryto policy in REHL9.

    My admin ran  "update-crypto-policies --set LEGACY" to set to legacy ssl2 on the RHEL9 VM and the ssh is working again. The newer RHEL9 default policy uses ssl3 and it seems vRA/vRO is not using this updated ssl3 hence the issue connecting to RHEL9.

    Note Use "update-crypto-policies --show"  shows the current policy which will be DEFAULT