RCMD(1)                                                   RCMD(1)

     NAME
          rcmd - remote command execution

     SYNOPSIS
          rcmd [ -C cryptoalg ] [ -e exportpath ] host [ cmd arg ... ]

     DESCRIPTION
          Rcmd executes cmd on the given host. If no cmd is given,
          sh(1) is assumed.  The host must have enabled the `rstyx'
          service (typically started via svc(8)).

          For authentication, rcmd will use the certificate in the
          file

               /usr/username/keyring/net!machine

          if it exists, and otherwise it will use the certificate in

               /usr/username/keyring/default.

          The -C option sets the algorithm cryptoalg to be used fol-
          lowing authentication for digesting or encryption.  See
          ssl(3) for the supported algorithms.  The default is none:
          ssl(3) is not used after authentication.

          The -e option sets the path to be exported as root from the
          local machine (defaults to / if not specified).

     SOURCE
          /appl/cmd/rcmd.b

     SEE ALSO
          security-intro(2), security-auth(2), security-login(2),
          getauthinfo(8), rstyxd(8), svc(8)

     Page 1                       Plan 9            (printed 12/21/24)