Connecting to Remote Hosts
To connect the current Terminal session to a database on a remote host, use the Connect menu.
If you start the Terminal with either the /console or the /server control argument, the Connect menu is not shown; see Connection Options.
Connect Menu Options
The Connect menu provides the following options.
-
To connect to a remote host, select Connect > Host or press Alt+O. This brings up a dialog box where you can enter the address of the desired host.
Or select the name of the host from the Connect menu.
-
To send a break over the communications channel, select Connect > Send Break or press Alt+B.
-
To disconnect or to cancel a connection attempt, Connect > Disconnect.
Remote Connection Example
This example starts an instance of the Terminal and then manually connects it to the TELNET port on the local host to enable a console session. The example assumes that the default user ID and password are available.
-
Select Connect > Host.
-
In the dialog box that appears, enter 127.0.0.1 for the Remote System address and 23 for the Port Number. Select OK.
The Terminal application then attempts to connect to your local host via the TELNET port.
-
At the Username: prompt, enter SYS and press Enter.
-
Then, at the Password: prompt, enter a password and press Enter.
You then see a prompt (%SYS>) that indicates that you are connected and have been placed in the %SYS namespace.
To terminate the session, select Connect >Disconnect. Or, to terminate this Terminal, select the Close box in the upper right of the window.