Get the SSH connection URL for a session
GET/api/v1/ActivitySession/Ssh/:sessionId
Returns the SSH URL that the session's owner uses to connect through the Netwrix Privilege Secure proxy. When the session's connection profile uses automatic connect, the URL carries a one-time token in place of the user name.
Permission required: Only the user who owns the session.
Caution: When automatic connect is on, the URL holds a one-time connection token that lets whoever has it connect to the session, so handle it as a secret and use it promptly.
Request
Responses
- 200
- 401
- 403
- 404
The SSH URL as a string, for example ssh://user+activity+host@proxy:4422.
The activity or the account is locked, or the request is not signed in.
The caller does not own the session.
The session does not exist.