Distinct offers Network Monitor, the ONLY natural language Protocol Analyzer, ONC RPC for C++, .NET and Java, and IntelliTerm, the fastest Terminal Emulator for TN3270, TN5250 and VT420 on the market.

Knowledge Base

   Products   Downloads   Sales   Support   About us
  Knowledge Base  Ask Cody  Manuals  Source Code Library  Resources



        
 
I am unable to make a RSHELL or REXEC connection using the RLIB and RCOPY ActiveX or DLL.
 
Product: Distinct VITTopic: RShell, Rexec, Rcopy, RCPLast updated: 3/28/2008
 
Q.: I am unable to make a RSHELL or REXEC connection using the RLIB and RCOPY ActiveX or DLL.
A.: In order to be able to connect using RLIB (RSHELL & REXEC) you must make the PC running RLIB client, a trusted host on the Unix machine that you are trying to connect.

Here is an example of how to make your PC a Trusted Host.

Assuming you are trying to connect to a UNIX system called unix1.mydomain.com (192.0.0.1) and your pc is called mypc.mydomain.com (192.0.0.3) you must update the following files to be able to use Rexec, Rshell or Rcopy successfully:

Add the following entries in /etc/hosts file on the Unix system called unix1.mydomain.com:

192.0.0.3 mypc
mypc.mydomain.com

Add the following entries in the /etc/hosts.equiv file:


mypc
mypc.mydomain.com

Updating the /etc/hosts file allows a reference of the remote host by name. In some cases this file may NOT be read at all. If this is your case, you will have to update the appropriate hosts database file on that system. For example if the host uses a name server you will have to modify the name server's database to achieve the desired result.

If on the other hand you need to run Rcopy between two UNIX systems, you will need to do all of the above plus, when running the Rcopy command, both UNIX systems must have the other system defined in the hosts file and hosts.equiv files. So if your second system is called unix2.mydomain.com, add the following entry in /etc/hosts file

192.0.0.1 unix1
unix1.mydomain.com
192.0.0.3 mypc mypc.mydomain.com

Add the following entries in the /etc/hosts.equiv file:

unix1
unix1.mydomain.com
mypc
mypc.mydomain.com

In this case you will also need to add the information for unix2.mydomain.com to the hosts and hosts.equiv files on the unix1.mydomain.com system.
Do you find this information useful ?       Yes   No   Not Sure




Search by Keyword


If you did not find what you are looking for:


Products

 IP Sniffing
The Distinct Network Monitor is a protocol analyzer for Windows that includes both packet sniffing and network traffic statistical analysis tools.

 Intelliterm
The Most Complete Terminal Emulator for TN3270, TN5250 and DEC VT220 to VT420

 RPC for C and C++
The Fastest Way to Port Your Existing Unix-RPC Applications to Windows

  7/24/2008   Legal notices | PRIVACY Policy | Networking News |         Page Last Modified: 3/31/2008