Remote Shell Commands Executor

constructor(host: BrownieHost)

Constructor to instantiate the object

Parameters

host

The host where open the remote communication and where execute the bash commands

Throws

JSchException

when an error occurred during the creation of the SSH session


constructor(sshUser: String, hostAddress: String, sshPassword: String)

Constructor to instantiate the object

Parameters

sshUser

The user to use for the SSH connection

hostAddress

The address of the host to reach

sshPassword

The password of the SSH user

Throws

JSchException

when an error occurred during the creation of the SSH session