[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Executing commands remotely to NT from Linux

Posted on 2004-03-30
6
Medium Priority
?
674 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
  • 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
Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

 

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 200 total points
ID: 10716844
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

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…
In the below post we have mentioned the best hosting type for startups. Also, check out some of the superlative web hosting companies that are proposing affordable web hosting solutions to host your startup website.
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses
Course of the Month19 days, 7 hours left to enroll

873 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