# runCommandWithSSH

Executes a command through a SSH session.

## &inp;

### runCommandWithSSH input parameters

parameter | type | required | description
--- | --- | --- | ---
host | HostConnection | Yes | Host to connect to (see: tns:HostConnection )
command | String | No | The command to execute.
&param-timeout;

## &outp;

## Sample Request:

          <ws:runCommandWithSSH>
             <host>
                <hostname>ssh.brutex.net</hostname>
                <port>22</port>
                <user>roger</user>
                <password>xxx</password>
             </host>
             <command>ls /etc/</command>
             <timeout>30000</timeout>
          </ws:runCommandWithSSH>