Install an agent#

This command installs an agent over SSH.

Request#

PUT https://{hostname}:{port}
    /cli/sshInstallAgent/installNewAgent?{parameters}
Accept: application/json

Parameter Type Required Description
name string true Name of the agent resource
host string true Host name or IP address of the system to install the agent on
port int true SSH port of the agent system; the default port is 22
sshUsername string true SSH user name to use to connect to the agent system
sshPassword string false SSH password for the agent system; leave blank to use public key authentication instead
installDir string true Installation directory for the agent
javaHomePath string true Path to Java on the agent system
tempDirPath string true Path to directory to install from on the agent system
webUri string false Web socket URI for the Deploy server (e.g. wss://sever:7919).
webProxyUri string false Web socket URI for the relay server (e.g. https://relay:20080).
relayWebPort int false HTTP proxy port of the agent relay, if the agent is connecting to an agent relay; the default is 20080
mutualAuth boolean false Specify true to enforce certificate validation for mutual authentication
Parameter Type Required Description
Accept application/json true  

Related CLI command: installAgent.

Parent topic: sshInstallAgent resource