The SSH adapter is used to execute commands on a remote host using the SSH protocol. With this adapter, the use of a prompt is optional. If a
<prompt> element is not defined, each command is executed in a separate session, as if each command is executed in a new command shell. Each command is executed independently, without any effect on subsequent commands. With the definition of a
<prompt> element, commands are executed in a sequence, in the same login shell.
Executing a command with non-prompt-based SSH is similar to appending the command to a Linux or Solaris client's command (ssh user1@server1 ls ). This results in an environment that is different from prompt-based SSH, in which the command is executed within the context of a login shell.
The SSH adapter can use the common features described in Base adapter features.