1833920 Members
8747 Online
110063 Solutions
New Discussion

run remote script

 
Yuri Ermakov
Contributor

run remote script

Hello!

Who to run command script on remote host (NT Server 4.0) with local hp-ux host (11.11)?

Yuri Ermakov
Ermak
5 REPLIES 5
T G Manikandan
Honored Contributor

Re: run remote script

As the windows does not run rshd or rexecd you cannot do a remote execution on Windows machines using them.


So a rsh or rexec from HP to NT is not possible.

Try using MKS ToolKit --which emulates the unix working style on windows.

check for the eval at

http://www.mkssoftware.com/products/tk/ds_tkdev.asp
Balaji N
Honored Contributor

Re: run remote script

ha ha

sorry to nit-pic TG.

if you want a unix like environment in windows, try out cygwin. free as in chai(beer) and as in freedom.

http://www.cygwin.com/

-balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.
Dave La Mar
Honored Contributor

Re: run remote script

Yuri -
It is possible to execute a bat file on an NT machine via ftp. We currently do so from bot our IBM Mainframe and HP-UX.
Since NT does not naitively support this, our lan guys purchased a very inexpensive add on for NT to allow for this.
If you search GOOGLE you will find many hits.
I you desire I will ask our lan guys for the name of the product.

Best regards,

dl
"I'm not dumb. I just have a command of thoroughly useless information."
Steven E. Protter
Exalted Contributor

Re: run remote script

You can install this on HP


Secure shell
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=T1471AA


You can then go to download.com or tucows.com and get a secure shell client for NT.

Then you can exchange public keys according to the document I am attaching.

Then from NT, you can ssh hostname_hp "cat /etc/issue" or whatever.

Thats the secure way to do it.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Dave La Mar
Honored Contributor

Re: run remote script

Yuri -
This is what our guys installed on the nt machine.

http://www.serv-u.com/

Best of luck.

dl
"I'm not dumb. I just have a command of thoroughly useless information."