z/OS Communications Server: IP User's Guide and Commands
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Executing commands on a remote host

z/OS Communications Server: IP User's Guide and Commands
SC27-3662-00

The Remote Execution Protocol (REXEC) and the Remote Shell Protocol (RSH) are remote execution clients that enable you to execute a command on a remote host and receive the results on the local host. You can execute either REXEC or RSH from the TSO command line, the z/OS® UNIX command line, or as a batch program. When executed as a batch program, the results are stored in a data set for later use.

To use REXEC, you must have a REXEC daemon running on the remote host. The REXEC client passes the user name, password, and command to the REXEC daemon. The daemon provides automatic logon and user authentication, depending on the parameters that you set.

To use RSH, you must have an RSH daemon running on the remote host. The RSH client passes the local user name, remote user name, and command to the RSH daemon. The remote user name can be in the form user/password when the RSH daemon is on an MVS™ host. The daemon provides automatic logon and user authentication, depending on the parameters that you set.

This information describes how to use the REXEC and RSH clients.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2013
This information center is Built on Eclipse™ ( www.eclipse.org ).