Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

Accessing a filer with a Remote Shell connection

Remote Shell with trusted remote hosts supported  Top

The filer supports a Remote Shell with trusted remote hosts--those remote hosts listed in /etc/hosts.equiv on the root volume.

Use of rsh command with user names and passwords  Top

Under some circumstances, you might need to supply a user name and a password when using the rsh protocol to run a command on the filer. The following table describes the circumstances under which a user name and password are required.

If you are logged in as...

Then...

Root on a UNIX host that is listed in the filer's /etc/hosts.equiv file

You do not need to supply a user name or a password.

A user other than root on a UNIX host that is listed in the filer's /etc/hosts.equiv file

You need to supply a user name and a password. The user name can be root or the name of an administrative user that has been defined on the filer.

Note
To issue commands from a Remote Shell on a PC, you must always supply a user name for the PC in the filer's /etc/hosts.equiv file. For more information, see the na_hosts.equiv(5) man page.

Format for rsh commands with user name and password  Top

The format for rsh commands that include a user name and a password is as follows:

rsh username:password command

Example

The following example illustrates an rsh command entered with a user name and a password:

rsh -l root:figby cifs shares

Caution
Passing a password from an NFS client in this manner is a security risk.

Commands not accepted from rsh  Top

You cannot execute the following commands by using the rsh command:

?
arp
cdacmd
license
netdiag
orouted
ping
routed
savecore
setup
shelfchk
traceroute

Accessing a filer from an NFS client by using an rsh command  Top

To access a filer from an NFS client by using the rsh command, complete the following step.

Step

Action

1

Enter the rsh command, replacing command and arguments with the desired command and arguments:

rsh filername command arguments

Example

rsh filer12 sysstat 1

Accessing a filer from a CIFS client by using a Remote Shell application  Top

To access a filer from a CIFS client by using a Remote Shell application, complete the following steps.

Step

Action

1

Run the Remote Shell application on the CIFS client.

2

Enter the client in the /etc/hosts.equiv file.

3

Enter the rsh command, replacing command and arguments with the desired command and arguments:

rsh filername command arguments

Example

rsh filer12 sysstat 1

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments