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:
-
Open the Services window by choosing Window > Services.
-
In the Services window, expand the C/C++ Build Hosts node.
-
Right-click the remote host and choose Open Terminal.
-
Select one of the following:
-
Home Folder - Opens a terminal window in the IDE with the directory set to the current
directory on the remote host
-
Remote Mirror of Local Files - Opens a terminal window in the IDE with the directory set to the remote
mirror copy of local files, if one exists.
-
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:
-
Open the Terminal window by choosing Window > Output > Terminal.
-
Click the Create New Remote Terminal button
in the left margin.
-
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.
-
If the Authentication Type dialog box opens, select the authentication type to use,
password or SSH key, and click OK.
-
Enter your password if prompted.
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:
-
Open the Terminal window by choosing Window > Output > Terminal.
-
Click the Create New Local Terminal button
in the Terminal window.
or
-
Right-click localhost under the C/C++ Build Hosts node in the Services window
-
Choose Open Terminal.
To end a terminal session:
-
Type exit at the shell prompt or close the tab.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved.