Solved

Executing commands remotely to NT from Linux

Posted on 2004-03-30
6
645 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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Suggested Solutions

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…
We have come a long way with backup and data protection — from backing up to floppies, external drives, CDs, Blu-ray, flash drives, SSD drives, and now to the cloud.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

747 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

9 Experts available now in Live!

Get 1:1 Help Now