Connect to a remote machine from terminal

Eclipse includes a Terminal view plugin that allows you to connect to a remote machine from within Eclipse. This feature supports multiple connection types including SSH and serial. You can establish these connections within any of the Eclipse perspectives.

Open Terminal view

To open Eclipse Terminal view, follow these steps:

  1. Click Window > Show View > Other.
  2. Select Terminal > Terminal and click Open.
  3. The Terminal view is displayed within the Eclipse active perspective.

Establish a terminal connection

To establish a terminal connection, follow these steps:

  1. Click Open a Terminal button  within the Terminal view. The Launch Terminal dialog appears.
  2. Select the Connection Type:
  3. Configure the specific connection type settings and click OK.
  4. After establishing a connection, the Terminal view is connected to a shell on the remote system. You may enter commands directly in the Terminal view window in Eclipse.
  5. Use the toolbar buttons to perform common actions such as copy, paste, lock scroll, clear, etc. 
  6. You can disconnect the active Terminal connection using the Disconnect Terminal Connection button .

Note You can also create a new connection using the Open a new Terminal View button , which creates a new Terminal view instance within Eclipse.

Local terminal

The local terminal opens a shell console to execute commands in the local host computer. You must configure the Encoding setting (the character encoding format to be used by the terminal) for a local terminal connection.

SSH terminal

In SSH, or secure shell, protocol, encrypted data is exchanged between two applications over a network TCP/IP connection. You can send SSH commands to and receive output from a remote machine from the Eclipse Terminal View. Configure the following settings for an SSH connection:

Serial terminal

Serial connections transfer data over a serial cable, typically through an RS-232 port. Many products have a serial port available for accessing a login terminal and executing remote commands. Configure the following settings for a serial connection:

Telnet terminal

Telnet protocol transfers data and executes plain-text commands over a TCP/IP network. Configure the following settings for a Telnet connection:

Note Telnet terminal setup is similar to SSH except the username and password are passed to the target machine in plaintext form after the Telnet session has been initiated.