rex1
Remote execution
Usage
rex [-TAXpv]
[-R
port:lport]
destination
[command]
Overview
rex is a remote execution facility which is integrated with SFS. The program allows users run to run programs on a remote machine or obtain a shell. Like SFS file systems, remote execution servers can be named by self-certifying path names.
The usage is as follows:
rex [-TAXpv] [-R port:lport] destination [command]
destination is one of the following:
- •
-
a self-certifying hostname (location:hostid)
- •
-
a self-certifying pathname (/sfs/... or /symlink-to-sfs/...)
- •
-
any identifier which when processed through certification programs will yield a self-certifying pathname
Options
-
-T -
Disable pseudo-tty allocation.
-
-A -
Disable SFS agent forwarding. By default, if there is no
sfsagentrunning on the remote machine,rexwill forward agent requests back to thesfsagentrunning on the local machine (e.g., when a user accesses an SFS file system or runssfskey).
-
-X -
Disable X forwarding. By default, the
rexclient will set up a dummy X server which receives connections from clients on the remote machine. These connections are forwarded over the encryptedrexchannel to the local X server.rexsets the DISPLAY environment variable appropriately on the remote side. Furthermore, X connections are authenticated using a `spoofed' MIT-MAGIC-COOKIE-1.
-
-p -
Force
rexto connect to the destination even if it cannot be resolved into a valid self-certifying path name.
-
-v -
Verbose mode.
-
-R port:lport -
Forward TCP connections made to port on the remote host to lport on the local machine.
The rex command supports the escape sequences listed below. Rex only recognizes the escape character `~' after a newline.
•
|
. terminate connection |
|---|---|
•
|
^Z suspend connection |
•
|
? help message |
•
|
~ send the escape character |
Releases
2 releases since Debian 3.1 (Sarge); the text changed 1 time.