Solved

W2kpro  RSH --> W2K server

Posted on 2003-12-01
6
321 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
  • 3
6 Comments
 
LVL 37

Expert Comment

by:Bing CISM / CISSP
Comment Utility
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
Comment Utility
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:
Bing CISM / CISSP earned 250 total points
Comment Utility
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:Bing CISM / CISSP
Comment Utility
JWunderly, any feedback please?
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

The Need In an Active Directory enviroment, the PDC emulator provide time synchronization for the domain. This is important since Active Directory uses Kerberos for authentication.  By default, if the time difference between systems is off by more …
Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

728 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now