man(1) Manual page archive


     DCON(1)                                                   DCON(1)

     NAME
          dcon, ndcon, rlogin, nrx, rsh, scriptcon - remote login and
          execution

     SYNOPSIS
          dcon [ option ... ] machine

          ndcon machine

          rlogin machine

          nrx machine [ command-word ... ]

          rsh [ option ... ] machine [ command-word ... ]

          scriptcon machine script

     DESCRIPTION
          Do not read this page unless you are familiar with con(1).

          Dcon, ndcon, and rlogin are analogs (or special cases) of
          con(1) for specific kinds of network connection.  They sup-
          port the same local escape convention with the quit signal.

          Similarly, nrx and rsh are analogs of rx.

          Network addresses are as in con(1). The default networks for
          the various commands are

          dcon, ndcon, nrx  dk

          rlogin, rsh       tcp

          Dcon connects to the remote machine, and attempts automati-
          cally to log in under the login id of the invoking user.
          Option -l turns off automatic login; the remote machine will
          ask for a login id and password.

          Ndcon behaves like dcon but provides a more transparent
          transport protocol.  In particular terminal line disciplines
          are preserved and it is possible to download into a mux(9.1)
          window across an ndcon connection.

          Rlogin is like dcon, but uses the connection protocol found
          on Berkeley systems.

          Rx (see con(1)) executes one shell command on the remote
          machine as if logged in there, with local standard input and
          output.  It uses a connection protocol specific to Research
          machines.

     DCON(1)                                                   DCON(1)

          Nrx is to rx as ndcon is to dcon: it runs a command remotely
          with line discipline preserved.

          Rsh is to rx as rlogin is to dcon: it runs a command
          remotely using the Berkeley execution protocol.

          Scriptcon provides a connection like dcon -l, except that
          the login and other initial protocol are controlled by a
          script file.  The first line of the file gives a string
          (e.g. `login:') expected from the remote machine; the second
          gives the local response, and so on in alternation.  Unrec-
          ognized data from the remote machine are ignored.  Warning:
          a script that contains a password may compromise the secu-
          rity of the remote system, hence scriptcon should be used
          only for restricted logins.

          Con tries to connect using the protocol of ndcon; if that
          fails, it tries that of dcon, then that of rlogin. Rx
          attempts its own style of connection; if that fails, it
          tries that of rsh.

     SEE ALSO
          con(1), dkmgr(8), svcmgr(8), tcpmgr(8), ipc(3)
          D. L. Presotto, `Interprocess Communication in the Eighth
          Edition UNIX System', this manual, Volume 2

     BUGS
          If a program run by nrx won't let go, for example by ignor-
          ing signals, there is no way of getting out short of hanging
          up.
          There is no error correction or retry in a scriptcon script.