Opening a Terminal Window for a Development 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.
If you are connected to the remote host, then to open a terminal window for the host:
- Open the Services window by choosing Window > Services.
- In the Services window, expand the C/C++ Development 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 set to the remote mirror of local files, if one exists
- Root Folder - Opens a terminal window in the IDE with the directory set
to the root directory on the remote host
A new tab opens in the Terminal window with a shell prompt
for your account on the remote host
If you are not connected to the remote host, then to open a terminal
window for the 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 drop-down list, or select Other Host, and
enter your user name, host name, and
SSH port. Click OK.
- If the Authentication Type dialog box opens, pecify the authentication type to use, password or
SSH key, and click OK.
- Enter your password if prompted.
- When you are successfully authenticated to the remote
host using your password or ssh key, you are connected to the
host and a new tab opens in
the Terminal window with a shell prompt for
your account on the remote host.
You can start a terminal session on the local host by:
- Right-clicking localhost in the C/C++ Development Hosts node
in the Services window, choosing Open Terminal, and selecting
Home Folder or Root Folder.
- Clicking the Create New Local Terminal button
in the Terminal window.
To end a terminal session:
- Type exit at the shell prompt
or close the tab.
Legal Notices