Solved

W2kpro  RSH --> W2K server

Posted on 2003-12-01
6
329 Views
Last Modified: 2013-12-19
  I have a need to remotely run server processes for an application.  The clients are Windows 2000 Pro and the Server is Windows 2000.  I have installed the W2K Resource kit on both the server and the client.

   When I try to execute a job, here is the result

C:\Program Files\Resource Kit>rsh bbmus1o -l wundjous d:\supervisor\api
> bbmus1o.bbmus.bbraun.com:Connection refused
rsh: can't establish connection

any ideas?

John Wunderly
0
Comment
Question by:JWunderly
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
6 Comments
 
LVL 37

Expert Comment

by:bbao
ID: 9856916
at 1st, we need more information around your question:

1. what does "remotely" mean? the two servers are on same LAN or isolated by internet zone even firewall between them?

2. how do the servers resolve their names? by dns server, hosts file, wins server or lmhosts file?

3. installing RK does not mean RSH service will be installed too. you should manually install remote shell service to make server side ready. to do it:

Copy Rshsetup.exe, Rshsvc.exe, Rshsvc.dll to the %SystemRoot%\System32 folder.
At the command prompt, type the following command:
rshsetup %systemroot%\system32\rshsvc.exe %systemroot%\system32\rshsvc.dll

hope it helps,
bbao
0
 

Author Comment

by:JWunderly
ID: 9858852
1.  They are on the same LAN, no isolation.  There are several executables that a user will have to run, but we don't want him to use a remote control tool (e.g. VNC).  Name resolution is via DNS.

2.  I have the service running on the server.  With the following command line, I am getting an "Access Denied".  

    rsh bbmus1n -l BBMUS\wundjous d:\oracle\ora_admin\atdev_exp.bat

3.  The user "BBMUS\wundjous" is in the "Administrators" group on the server.

What am I missing here?

thanks,
John Wunderly
0
 
LVL 37

Accepted Solution

by:
bbao earned 250 total points
ID: 9859044
commonly, RshSvc returns an "Access denied" message under the following conditions:

1. the RSH client computer name is not specified in the RHOSTS file.
2. the name of the logged-on user on the RSH client computer is not present in the RHOSTS files.
3. RshSvc (using GetHostByName) failed to resolve the IP address of a computer specified in the RHOSTS files and a user is trying to access this service from that computer.
4. in windows 2000, the "Register this connection's address in DNS" option is checked.
0
 
LVL 37

Expert Comment

by:bbao
ID: 10054428
JWunderly, any feedback please?
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes you might need to configure routing based not only on destination IP address, but also on a combination of destination IP address (or hostname) and destination port number. I will describe a method how to accomplish this with free tools. …
A common practice in small networks is making file sharing easy which works extremely well when intra-network security is not an issue. In essence, everyone, that is "Everyone", is given access to all of the shared files - often the entire C: drive …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question