5 Using Virtual Terminal
5.2 Using Gateways for Remote OSI Node Access 1 Using the LAT/VT Gateway
5.2.3 Using the Telnet/VT Gateway
If your network has one or more Telnet/VT Gateways enabled, you can use the
telnetcommand from an Internet system to access a remote OSI system that has a Virtual Terminal responder installed.
If the gateway system is an OpenVMS system, you may need to specify the port number. The default port number on OpenVMS is 30324. If the gateway system is a Digital UNIX system, you do not need to specify the port number.
OpenVMS
Note
To use the Telnet/VT Gateway, your local OpenVMS system must have the Digital TCP/IP Services for OpenVMS product installed. ♦
In the following examples, two gateway systems (systems where the Telnet/VT Gateways reside) are used. The name of the OpenVMS gateway system isintrpd, and the name of the Digital UNIX gateway system isdiscvr.
OpenVMS From an OpenVMS system, use one of the following commands to connect to the OpenVMS gateway system (in this case the port number is specified):
$ telnet intrpd/port=30324 Return
$ telnet intrpd 30324 Return
Use the following command to connect to the Digital UNIX gateway system: $ telnet discvr Return
See Appendix C or enter help telnetfor more information on the telnet
5.2 Using Gateways for Remote OSI Node Access
UNIX From a Digital UNIX system, use the following command to connect to the OpenVMS gateway system (in this case the port number is specified): % telnet intrpd 30324 Return
Use the following command to connect through the Digital UNIX gateway system to remote OSI system serchr:
% telnet discvr -l serchr:: Return
The -loption on the telnetcommand specifies the input to the login prompt (see below). The -loption is required on the telnetcommand if you are logged in to a Digital UNIX system and you want to use the Telnet/VT Gateway that is installed on another Digital UNIX system. Otherwise, telnetautomatically specifies your user name at the login prompt.
See Appendix D or the telnet(1c)reference page for more information on the
telnetcommand. ♦
OpenVMS A successful telnetcommand to an OpenVMS gateway system results in a prompt for the remote alias name as shown in the following example: Trying...16.63.96.230
Connected to INTRPD Escape character is ’^]’.
Welcome to the Telnet/VT gateway on INTRPD Enter remote alias name:
At the gateway prompt, enter the alias or X.500 Distinguished Name of the remote OSI system you want to access. The alias must be known by the gateway system (i.e., it must be defined in the isoapplications.datfile on the gateway system). If you enter an X.500 Distinguished Name, be sure to terminate it with a colon (:). After the VT connection is established to the remote system, you are prompted to log in as usual. ♦
UNIX If you are connecting from an OpenVMS system, a successful telnetcommand to a Digital UNIX gateway system results in a login prompt as shown in the following example:
Trying...16.62.96.231 Connected to DISCVR. Escape character is ’^]’.
Digital UNIX (discvr.org.com) (ttyp4) login:
If you are connecting from a Digital UNIX system, you must supply your response to the login prompt via the -loption on thetelnetcommand. All of the information presented here about the alias entered at the login prompt also applies to the alias entered at the-loption.
At the login prompt (or at the-l), enter the alias of the remote OSI system you want to access, followed by a double colon (::). The alias must be defined on the gateway system. The double colon indicates that you want to connect using the DECnet–Internet Gateway.
The DECnet–Internet Gateway invokes the Telnet/VT Gateway if you supply an alias that is in the /etc/isoapplicationsfile on the gateway system, regardless of the application (FTAM or VT) for which the alias is defined.
5.2 Using Gateways for Remote OSI Node Access
If you supply an alias that does not exist in the/etc/isoapplications file, then the gateway software attempts to establish a CTERM connection with the system specified.
After the VT connection is established to the remote system, it prompts you to log in as usual. The following example shows a user named nobel on an OpenVMS system accessing a remote Digital UNIX system with alias serchrfrom the Digital UNIX gateway systemdiscvr:
$ telnet discvr Return
Trying...16.62.96.231 Connected to DISCVR. Escape character is ’^]’.
Digital UNIX (discvr.org.com) (ttyp4) Login: serchr:: Return
Digital UNIX (serchr.org.com) (ttyp1) Login: nobel Return
Password: password Return ♦
5.2.4 Using the VT/Telnet Gateway
If your network has one or more VT/Telnet Gateways enabled, you can access a remote Internet system that supports thetelnetprotocol from an OSI system. OpenVMS For OpenVMS, the gateway system administrator assigns a unique OSI address
to the VT/Telnet Gateway and creates an alias pointing to the gateway. To access the gateway, specify the gateway alias on the VT connect command. ♦
In the following examples, two gateway systems (systems where the VT/Telnet Gateways reside) are used. The name of the OpenVMS gateway system isintrpd, and the name of the Digital UNIX gateway system isdiscvr. The alias defined for the VT/Telnet Gateway on theintrpdsystem isintrpd$telnet.
OpenVMS From an OpenVMS system, use the following command to connect to the VT/Telnet Gateway on the OpenVMS gateway system:
$ set host/vtp intrpd$telnet Return
Use the following command to connect to the Digital UNIX gateway system: $ set host/vtp discvr Return
See Appendix C for more information on theset host/vtpcommand. ♦ UNIX From a Digital UNIX system, use the following command to connect to the
VT/Telnet Gateway on the OpenVMS gateway system: % ologin intrpd$telnet Return
Use the following command to connect to the Digital UNIX gateway system: % ologin discvr Return
5.2 Using Gateways for Remote OSI Node Access
OpenVMS A successful VT connection to the VT/Telnet Gateway application on a OpenVMS gateway system results in a prompt for the remote host name as shown in the following example:
Welcome to the VT/Telnet gateway on INTRPD Enter remote host name:
At the gateway prompt, enter the host name of the remote Internet system you want to access. After thetelnetconnection is established to the remote system, it prompts you to log in as usual. ♦
UNIX A successful VT connection to a Digital UNIX gateway system results in a login prompt as shown in the following example:
Digital UNIX (discvr.org.com) (ttyp4) login:
At the login prompt, enter an "at sign" (@), followed by the host name of the remote Internet system you want to access. The "at sign" indicates that you want to connect using the Telnet Gateway. After thetelnetconnection is established to the remote system, it prompts you to log in as usual.
Note
The Telnet implementation on Digital UNIX attempts to supply your login ID to the remote Telnet system. This is done on the assumption that a Telnet user would have the same account name on multiple systems. When the VT/Telnet Gateway makes a Telnet connection to a system that can respond to this feature (for example, another Digital UNIX system), the login ID of the gateway process (usuallyroot ordaemon) is sent to the remote system and the first prompt the user sees is for the password. The desired action is that the destination system should prompt for the user ID.
To work around this problem, simply press Return at the password prompt. This causes the destination system to prompt for the login ID again.
The following example shows a user named nobel on a Digital UNIX system accessing a remote Digital UNIX system called serchrfrom a Digital UNIX gateway system calleddiscvr:
% ologin discvr Return
Digital UNIX (discvr.org.com) (ttyp4) Login: @serchr Return
Trying...16.63.96.230 Connected to serchr.org.com Escape character is ’^]’.
Digital UNIX (serchr.org.com) (ttyp1) Login: root
Password: Return
root login refused on this terminal. Login incorrect
Login: nobel Return