safeguard Remote Host Data

fun safeguardRemoteHostData(hostId: String, sessionId: String, sshUser: String, sshPassword: String, networkInterfaceDetails: Pair<String, String>): RemoteHostData

Method used to safeguard the sensitive data of a remote host

Return

the sensitive data of the remote host encrypted as RemoteHostData

Parameters

hostId

The identifier of the host

sessionId

The identifier of the session owner of the host

sshUser

The user to use for the SSH connection

sshPassword

The password to use for the SSH connection

networkInterfaceDetails

The details of the network interface of the remote host


fun safeguardRemoteHostData(hostId: String, sessionId: String, sshUser: String, sshPassword: String, macAddress: String, broadcastIp: String): RemoteHostData

Method used to safeguard the sensitive data of a remote host

Return

the sensitive data of the remote host encrypted as RemoteHostData

Parameters

hostId

The identifier of the host

sessionId

The identifier of the session owner of the host

sshUser

The user to use for the SSH connection

sshPassword

The password to use for the SSH connection

macAddress

The physical mac address of the remote host network interface

broadcastIp

The ip address of the remote host network interface