Solved

Executing commands remotely to NT from Linux

Posted on 2004-03-30
6
663 Views
Last Modified: 2010-04-13
I want to execute some commands from a remote Linux system to an NT system. I know there is a way to do this from NT to NT (but I can't remember the Microsoft name for this). But I need to do it from a Linux system. Any ideas?
0
Comment
Question by:ESQuicksall
[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
  • 4
  • 2
6 Comments
 
LVL 67

Expert Comment

by:sirbounty
ID: 10716616
Rexec
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 10716628
http://www.denicomp.com/readmore.htm
>>
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.
<<
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 10716641
But, I suppose RSH may be what you're after...depends on what you're wanting to do...
From the same link:
>>
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.
<< 
0
Comparison of Amazon Drive, Google Drive, OneDrive

What is Best for Backup: Amazon Drive, Google Drive or MS OneDrive? In this free whitepaper we look at their performance, pricing, and platform availability to help you decide which cloud drive is right for your situation. Download and read the results of our testing for free!

 

Author Comment

by:ESQuicksall
ID: 10716687
Microsoft says this "An RSH service called Rshsvc.exe is provided with the Windows 2000 Server Resource Kit. Used without parameters, rsh displays help."

Does this mean I can use REXEC on Linux and Window's RSH to execute programs on Windows from Linux?

Eddy
0
 

Author Comment

by:ESQuicksall
ID: 10716759
I mean, use REXEC on Linux to submit commands to Window's Rshsvc.exe?
0
 
LVL 67

Accepted Solution

by:
sirbounty earned 50 total points
ID: 10716844
0

Featured Post

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
There is a lot to be said for protecting yourself and your accounts with 2 factor authentication.  I found to my own chagrin, that there is a big downside as well.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

690 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