Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

Nested session to execute the command with root login to a server using SSHSession.

$
0
0

We have to execute certain command in root login.  Root login is not open directly to the server. We have to login first with "admin" then need to do "su -" to get the root login. Then after we can execute the command. We are using SSHSession API from VMware to establish the session in VRO 7.5 workflow. Using this API we are allowed to establish the session with certain user but as per requirement  need to execute the command in another user's session. Need help here to provide the API  establish the session for nested user or we can run the command in root user shell from admin user session (from SSHSession).

vSphere Documentation Center


Viewing all articles
Browse latest Browse all 6251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>