Table of ContentsView in Frames

Accessing a storage system from a Windows client by using RSH

You can use a Remote Shell (RSH) application to access a storage system from a Windows client to perform administrative tasks.

Before you begin

The rsh.enable option must be set to on.

The Windows client you use must be a trusted host specified in the /etc/hosts.equiv file on the root volume of the storage system.

If you access the storage system by using its IPv6 address, the ip.v6.enable option must be set to on for the system and the Windows client you use must support IPv6.

Step

  1. From the RSH application on the Windows client, enter the rsh command in the following format:
    rsh hostname_or_ip [-l username:passwordcommand

    hostname_or_ip is the host name, IPv4 address, or IPv6 address of the storage system.

    Note: You can also specify the IP address by using the rsh.access option.

    command is the Data ONTAP command you want to run over the RSH connection.

Examples of RSH requests

The following rsh command uses a user name, "carl", and a password, "mypass", to access the storage system, "myfiler", to run the Data ONTAP version command:
rsh myfiler -l carl:mypass version
The following rsh command uses a user name, "carl", and a password, "mypass", to access the storage system whose IP address is 192.0.2.66, to run the Data ONTAP version command:
rsh 192.0.2.66 -l carl:mypass version
The following rsh command uses a user name, "carl", and a password, "mypass", to access the storage system whose IPv6 address is 2001:0DB8:85A3:0:0:8A2E:0370:99, to run the Data ONTAP version command:
rsh 2001:0DB8:85A3:0:0:8A2E:0370:99 -l carl:mypass version