Library /sys$common/syshlp/helplib.hlb  —  TELNET  Examples
    1.$ TELNET
      TELNET> ENABLE DEBUG
      TELNET> SET TERMINAL /DEVICE=VT300
      Terminal type is set to VT300
      TELNET> CONNECT DEBTS

      In this example, the TELNET command performs the following
      actions:

      o  Starts TELNET.

      o  Customizes the environment.

      o  Establishes a connection to host DEBTS and sets up the
         terminal type as VT300.

    2.$ TELNET MYCOM /TERMINAL_TYPE=IBM-3278-2

      Establishes a TELNET connection to remote host MYCOM and runs
      TN3270.

    3.$ TELNET 130.180.5.5

      Establishes a TELNET connection to the host at IP address
      130.180.5.5.

    4.$ TELNET UCOM 31

      Establishes a TELNET connection to remote host ucom at port 31.

    5.$ TELNET/AUTHENTICATE/REALM=jet.mbs.com terse

      %TELNET-I-TRYING, Trying ... 15.21.308.11
      %TELNET-I-SESSION, Session 01, host terse, port 23
      %TELNET-I-ESCAPE, Escape character is ^]
              terse.ucx.ttg.mbs.com

      This example logs in to system terse with Kerberos credentials.

    6.$ TELNET/AUTHENTICATE/FORWARD terse

      %TELNET-I-TRYING, Trying ... 15.21.308.11
      %TELNET-I-SESSION, Session 01, host terse, port 23
      %TELNET-I-ESCAPE, Escape character is ^]
      [Kerberos V5 accepts you as ''j_brown@terse.mbs.com'' ]
      [Kerberos V5 accepted forwarded credentials ]

      This example forwards credentials to host terse for user j_
      brown.
Close Help