version 1.3, 1997/07/27 06:28:23 |
version 1.4, 1998/09/27 16:57:51 |
|
|
.Op Fl k Ar realm |
.Op Fl k Ar realm |
.Op Fl l Ar username |
.Op Fl l Ar username |
.Ar host |
.Ar host |
.Op command |
.Op Ar command |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
.Nm Rsh |
.Nm rsh |
executes |
executes |
.Ar command |
.Ar command |
on |
on |
.Ar host . |
.Ar host . |
.Pp |
.Pp |
.Nm Rsh |
.Nm rsh |
copies its standard input to the remote command, the standard |
copies its standard input to the remote command, the standard |
output of the remote command to its standard output, and the |
output of the remote command to its standard output, and the |
standard error of the remote command to its standard error. |
standard error of the remote command to its standard error. |
|
|
is specified, you will be logged in on the remote host using |
is specified, you will be logged in on the remote host using |
.Xr rlogin 1 . |
.Xr rlogin 1 . |
.Pp |
.Pp |
Shell metacharacters which are not quoted are interpreted on local machine, |
Shell meta-characters which are not quoted are interpreted on local machine, |
while quoted metacharacters are interpreted on the remote machine. |
while quoted meta-characters are interpreted on the remote machine. |
For example, the command |
For example, the command |
.Pp |
.Pp |
.Dl rsh otherhost cat remotefile >> localfile |
.Dl rsh otherhost cat remotefile >> localfile |
|
|
.Sh SEE ALSO |
.Sh SEE ALSO |
.Xr rlogin 1 , |
.Xr rlogin 1 , |
.Xr kerberos 3 , |
.Xr kerberos 3 , |
.Xr krb_sendauth 3 , |
|
.Xr krb_realmofhost 3 , |
.Xr krb_realmofhost 3 , |
|
.Xr krb_sendauth 3 , |
.Xr rcmd 3 |
.Xr rcmd 3 |
.Sh HISTORY |
.Sh HISTORY |
The |
The |