Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ remsh(1N) — A/UX 0.7

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

rlogin(1N)



     remsh(1N)                                               remsh(1N)



     NAME
          remsh - remote shell

     SYNOPSIS
          remsh rhost [-lusername] [-n] command
          rhost [-lusername] [-n] command

     DESCRIPTION
          remsh connects to the specified rhost, and executes the
          specified command via a local network running B-NET
          software.  On the remote side, you get whatever shell is set
          up for that account.  remsh copies its standard input to the
          remote command, the standard output of the remote command to
          its standard output, and the standard error of the remote
          command to its standard error.  Interrupt, quit and
          terminate signals are propagated to the remote command;
          remsh normally terminates when the remote command does.

          The remote username used is the same as your local username,
          unless you specify a different remote name with the -l flag
          option.  This remote name must be equivalent (in the sense
          of rlogin(1N)) to the originating account; no provision is
          made for specifying a password with a command.

          If you omit command, then instead of executing a single
          command, you will be logged in on the remote host using
          rlogin(1N).

          If you stipulate the -n flag option, the standard input will
          be redirected to /dev/null.

          Shell metacharacters which are not quoted are interpreted on
          local machine, while quoted metacharacters are interpreted
          on the remote machine.  Thus the command

          remsh rhost cat remotefile >> localfile

          appends the remote file remotefile to the local file
          localfile, while

          remsh rhost cat remotefile ">>" remotefile.2

          appends remotefile to remotefile.2.

          Host names are given in the file /etc/hosts.  Each host has
          one standard name (the first name given in the file), which
          is rather long and unambiguous, and optionally one or more
          nicknames.  The rhost names for local machines are also
          commands in the directory /usr/hosts; if you put this
          directory in your search path then the remsh may be omitted,
          as in the second form of the command, above.




     Page 1                                        (last mod. 1/16/87)





     remsh(1N)                                               remsh(1N)



          Using remsh, you cannot run an interactive command (like
          vi(1)); use rlogin(1N) instead.

     FILES
          /usr/bin/remsh
          /etc/hosts
          /usr/hosts/*

     SEE ALSO
          rlogin(1N).













































     Page 2                                        (last mod. 1/16/87)



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026