Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
RHOSTS.DATA data set z/OS Communications Server: IP User's Guide and Commands SC27-3662-00 |
|
The user_id.RHOSTS.DATA data set provides you with an alternative to specifying RSH parameters user_id and password when you invoke the RSH command. The user_id.RHOSTS.DATA data set contains one or more entries. Each entry consists of two parts, a fully qualified name of a local host and a local userid associated with that local host. The local userid is case sensitive. The user ID specified in user_id.RHOSTS.DATA can be either the user ID you would otherwise specify as an RSH parameter or your logon ID on your local host. If your user ID is the same at both the local and remote hosts,
use this common ID to create RHOSTS.DATA. In this case, you do not
need to include the user_id/password parameter
on the RSH command, as shown in the following example:
If your user ID at the remote host is different from your user
ID at the local host, use the user ID of the remote host to create
RHOSTS.DATA. In this case, you can invoke the RSH command without
the password, as follows:
If you do not create the RHOSTS.DATA data set on the remote host,
you must specify both the user ID and the password with the RSH command,
as shown in the following example:
The host names in the following examples are the official, fully
qualified names of local hosts from which you want to run RSH. The
user IDs are the logon IDs for those local hosts. Nicknames are not
allowed.
Tip: The RSH server code obtains the remote host name
by resolving the remote IP address into a host name. If the remote
host connects using a link-local address, then the remote host name
that is generated by the resolver can have the format hostname%scope. Adding scope information to the appropriate
RHOSTS.DATA remote host definitions results in a more efficient search
for a matching remote host name. See the support
for scope information in the z/OS Communications Server: IPv6 Network and
Application Design Guide for details about including scope information
on configured host names.
|
Copyright IBM Corporation 1990, 2013
This information center is Built on Eclipse™ ( www.eclipse.org ).
|