Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rsh(1C) — GL2 W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

rlogin(1C)

RSH(1C)  —  Silicon Graphics

NAME

rsh − remote shell

SYNOPSIS

rsh host [ -n ] [ -l ] [ command ]

DESCRIPTION

rsh connects your terminal to the specified host and executes the specified command.  rsh normally copies its standard input to the remote command, the standard output of the remote command to rsh’s standard output, and the standard error of the remote command to rsh’s standard error.  Interrupt, quit, and terminate signals are passed to the remote command. The rsh normally terminates when the remote command does.  It returns immediately to the local host if the −n option is used, without redirecting its standard input to the remote command. 

The remote username is your local username, unless a different remote name is specified via the −l option.  User names on the two systems must be equivalent (as specified by /etc/hosts.equiv);  a password cannot be used here. 

If a command is specified, then rsh executes it and returns to the local host.  If a command is not used, rlogin(1C) logs the user in on the remote host. 

Unquoted shell metacharacters are interpreted on the local machine, quoted metacharacters are interpreted on the remote machine.  Thus the command

   rsh otherhost cat remotefile >> localfile

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

   rsh otherhost cat remotefile ">>" otherremotefile

appends remotefile to otherremotefile. 

Host names are in the file /etc/hosts.  Each host has one unambiguous standard name (the first name given in the file), and may have optionally one or more nicknames. 

FILES

/etc/hostshost name to network address mapping

SEE ALSO

rlogin(1C)

BUGS

Interactive commands (like rogue(6) or vi(6)) will not run.  To use interactive commands, use rlogin(1C). 

Version 2.3  —  July 04, 1985

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