Dart.Emulation Namespace : Rsh Class |
Use the Rsh component to execute a command on a remote host (typically a UNIX host). To use the Rsh component, call Connect to connect, call one of the Execute methods to execute the command, and then use one of the Read methods to read the results of the command.
Rexec and Rsh perform the same task using different authentication techniques. Rsh requires static information be added to .rhosts and/or hosts.equiv, whereas Rexec simply uses dynamic username/password information for authentication.
Using Rsh requires authorization for the local host running the application. To do this, add the appropriate entries to the hosts.equiv or .rhosts files located on the remote host. These files enable login from other machines and users. The hosts.equiv file is a system file containing names of remote hosts authorized to execute the remote protocol. If not authorized in this file, the remote host looks for the .rhosts file located in the user's account on the remote host. The .rhosts file contains lines of host names and login names paired together. Your local host with login name is authorized if found in this file.
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
Dart.Emulation.ComponentBase
Dart.Emulation.SocketBase
Dart.Emulation.TcpBase
Dart.Emulation.Rsh