Denicomp Systems

  Print This Page
 
 Shopping Cart
   HOME | CONTACT| STORE


 

What are RCP, RSH and REXEC?

 

 
What is RSH?
rsh
stands for remote shell and allows you to execute non-interactive programs on another system. On some systems, this command is sometimes called remsh or rcmd.  It executes the command on the other system and returns the program
's standard output and standard error output.

The other system must be running a remote shell daemon (rshd) to handle the incoming rsh command.  Unix and Linux systems include a remote shell daemon, but Windows does not.  Use Denicomp's Winsock RSHD/95 or Winsock RSHD/NT software if you want to rsh to a Windows system.

The rsh command does not require you to enter a password for the other system. Trust is established by defining host equivalency.


What is REXEC?
rexec stands for remote exec and like rsh, allows you to execute non-interactive programs on another system.  The difference between rsh and rexec is that rexec requires you to specify a valid password for the other system and rsh does not.

The other system must be running a remote exec daemon (rexecd) to handle the incoming rexec command.  Most Unix and Linux systems include a remote exec daemon, but Windows does not.  Use Denicomp's Winsock REXECD/95 or Winsock REXECD/NT software if you want to rexec into a Windows system.


What is RCP?
rcp stands for remote copy and allows you to transfer files to and from another system over the network.  It works like a "copy" command, where you specify a source and a destination, except that the source or destination of the copy can be the hostname or IP address of another system.  It can also copy multiple files (using wildcards for example) and recursively copy entire directory trees.

The other system must be running a remote shell daemon (rshd) that supports rcp.  Since it operates through the rshd, trust is established through host equivalency.  So unlike FTP, it is totally non-interactive and does not require you to log in or specify a password for the other system.   

 

Which product do I need?
If you need to rsh, rexec, or rcp from your Windows system into another system, use Winsock RCP/RSH/REXEC.  This includes the rsh, rcp, and rexec commands. These commands are often referred to as "clients".

If you want to be able to rsh or rcp into your Windows system from another system, use Winsock RSHD/NT if you are running Windows NT, 2000, or XP.  Use Winsock RSHD/95 if you are running Windows 95, 98, or ME.

If you want to be able to rexec into your Windows system from another system, use Winsock REXECD/NT if you are running Windows NT, 2000, or XP.  Use Winsock REXECD/95 if you are running Windows 95, 98, or ME.

If you are a software developer and you want to be able to rsh or rexec from your program into another system, use Winsock RCMD32.DLL.  If you want to be able to rcp from your program into another system, use Winsock RCP32.DLL.