Running SSH commands on the terminal

Learn how to run SSH commands in a terminal prompt with the Execute Terminal Command (terminalExecute).

Before you begin

This procedure is valid only for VT connections over SSH protocol. For more information, see Connecting by using SSH.

Procedure

Before you use the Execute Terminal Command (terminalExecute) command to run SSH commands, you need an SSH-initiated terminal prompt opened.

In this case, use the Detect Prompt (terminalDetectPrompt) command to detects whether an SSH-initiated terminal prompt is opened or not, and to display the current terminal screen data before you send SSH commands to it.

Some commands are specific for SSH connections. Read the Terminal commands' specification for more details.