Opening a Terminal Window for a Build Host

See Also 

You can open a terminal window in the IDE for a local or remote host. A remote host does not need to be set up in advance for the IDE, but must be running the SSH daemon.

To open a Terminal window when the IDE is already connected to the remote host:

  1. Open the Services window by choosing Window > Services.
  2. In the Services window, expand the C/C++ Build Hosts node.
  3. Right-click the remote host and choose Open Terminal.
  4. Select one of the following:
  5. A new tab opens in the Terminal window with a shell prompt for your account on the remote host.

To open a terminal window when the IDE is not connected to the remote host:

  1. Open the Terminal window by choosing Window > IDE Tools > Terminal.
  2. Click the Create New Remote Terminal button New Remote terminal button in the left margin.
  3. In the SSH Connection dialog box, select a host from the Known Hosts list, or select Other Host, and enter your user name, host name, and SSH port. Click OK.
  4. If the Authentication Type dialog box opens, select the authentication type to use, password or SSH key, and click OK.
  5. Enter your password if prompted.
  6. Optionally select Remember Password to have the IDE encrypt and save the password on the local disk.

When you are successfully authenticated and logged in to the remote host using your password or SSH key, the IDE opens a new tab in the Terminal window with a shell prompt for your account on the remote host.

 

To open a terminal window on the local host:

  1. Open the Terminal window by choosing Window > Output > Terminal.
  2. Click the Create New Local Terminal button New Local Terminal icon  in the Terminal window.

    or

  1. Right-click localhost under the C/C++ Build Hosts node in the Services window
  2. Choose Open Terminal.

To end a terminal session:

See also
  Overview of C/C++ Remote Development
Managing Build Hosts
Configuring Build Tools
Working on Remote Hosts Using the Toolbar
Pinning a Terminal
C/C++ Project Properties Dialog Box: Build

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.