Connecting by using SSH

Learn the requirements and steps to connect to Virtual Terminal (VT) emulator over SSH protocol by using specific command. The VT emulator interprets ANSI escape codes.

Before you begin

You must have the following data to connect:

  • Server address
  • User name
  • Optional: Password
  • Optional: Port

You can't use the IBM RPA's recorder to connect and record VT over SSH protocol.

Procedure

Add the Connect to Terminal via SSH (terminalSshConnect) command directly to your script.

In the connections' fields, provide the server address, user name, and optionally, password and port.

What to do next

Exclusively for SSH connections, follow the procedure "Running SSH commands on the terminal" to learn how to run SSH commands on VT connected over SSH.

Also, you can manually add commands to your script. In IBM RPA Studio, go to the toolbox, and use commands under the Terminal category.

Commands that don't support SSH connections throw an exception warning that the terminal must connect with another terminal type. Read the commands' specification to check whether they apply to the terminal type that you use.