Skip to content

2.3 Configuring remote servers over SSH

Ilya Drabenia edited this page May 29, 2015 · 3 revisions

Configuring remote servers over SSH

The SDK provides functionality for configuring created servers or executing Bash commands remotely over SSH (see the example below).

serverService.execSsh(server)
    .run(shellCommand1)
    .run(shellCommand2)
    .execute()
    .waitUntilComplete();