Class: AttachSshCommand

AttachSshCommand

SSH command for attaching to a SSH terminal shell.


new AttachSshCommand(authorization, authorizationDate, username, password [, terminalSettings])

Constructor.

Parameters:
Name Type Argument Description
authorization string

a pre-computed SNWS2 authorization header, which must match exactly a GET request to the /solaruser/api/v1/sec/nodes/meta/:nodeId path using the provided authorization date and, node ID.

authorizationDate Date | number

the date used in the authorization value

username string

the SSH username to use

password string

the SSH password to use

terminalSettings SshTerminalSettings <optional>

optional terminal settings to use