Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <00ed01c02e2a$c0de4470$73191eac@neptune> From: "Erdely, Michael" To: References: <200010041632 DOT JAA29029 AT mail13 DOT bigmailbox DOT com> Subject: Re: running bash program on another machine Date: Wed, 4 Oct 2000 13:44:31 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.3018.1300 X-Mimeole: Produced By Microsoft MimeOLE V5.00.3018.1300 RCMD is a remote command processor for NT. It has two components: RCMD and RCMDSVC. The Service component runs on the remote machine. The client component (RCMD) runs on the local machine. You can get RCMD from the Windows NT 4 Resource Kit OR the Windows 2000 Resource Kit. In order to set up telnet using the Microsoft Telnet Server, Windows 2000 has this built in. Start the service. If you're doing this to run Cygwin commands on the remote machine, you might as well look into running Cygwin's telnetd on the remote machine. Under 1.1.4, /usr/doc/Cygwin/login.README has information on how to do this using Inetd and in.telnetd. HTH, -ME ----- Original Message ----- From: "Clark Sims" To: ; Sent: Wednesday, October 04, 2000 12:32 PM Subject: Re: running bash program on another machine > > >Clark, > > What are you trying to do? > > I am trying to update databases of prices. I use S+ to call Bloomberg's DDE server. A typical set of commands, under bash, would look something like: > > //d/sp2000/cmd/splus.exe S_PROJ=D\:\\SP2000\\READDATA S_PREF=D\:\\SP2000\\USERS\\JOHNL /Batch_Prompts min /BATCH ..\\roll\\fxdncm.txt fxdncm.out.txt fxdncm.err.txt > > //d/sp2000/cmd/splus.exe S_PROJ=D\:\\SP2000\\READDATA S_PREF=D\:\\SP2000\\USERS\\JOHNL /Batch_Prompts min /BATCH ..\\roll\\fxdncmxtu.txt fxdncmxtu.out.txt fxdncmxtu.err.txt > > > You can do this using RCMD (NT), > > I found 2 mentions of rcmd on the Microsoft site: > http://www.microsoft.com/WINDOWS2000/guide/server/solutions/unixutilities.as p > http://www.microsoft.com/windows2000/library/resources/reskit/default.asp > > I am not sure what to make of rcmd. It looks like it is intended for windows 2000, not NT. > > > Telnet (NT or Cygwin) > > I have tried to telnet to the computer. I know its IP address and the user names and passwords for the computer. I can't log into the other computer. Do I need to set up something special on the other machine? > > or SSH. > > I found http://www.ssh.org/ > > I am not sure where to start. Do you have any suggestions on a quick and dirty how-to? > > For example, how do I log onto another machine and: > 1) specify the current working directory > 2) look for the contents of the directory > 3) execute a file in that directory > 4) specify a search path > 5) execute a file on the search path, in the current working directory > > Thanks in Advance, > > Clark > > > > > > ------------------------------------------------------------ > --== Sent via Deja.com http://www.deja.com/ ==-- > Before you buy. > > > -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com