1829447 Members
1689 Online
109992 Solutions
New Discussion

command remote

 
Jairo Campana
Trusted Contributor

command remote

some tool exists that executes commandos from window to UNIX ,without to me it requests the key

server nt ====>server unix
#ll >>>>>> list of directories in unix


thanks
legionx
7 REPLIES 7
Jeffrey Davis_1
Frequent Advisor

Re: command remote

Not sure what your looking for, but try doing a 'man -k dos2ux' or 'man -k us2dos'. I'm guessing that you may want commands to execute on a NT machine or vice-versa.
Krishna Prasad
Trusted Contributor

Re: command remote

There are also remsh,rcp,rlogin NT programs you can put on NT.

There is also SAMBA that could also work.
Positive Results requires Positive Thinking
harry d brown jr
Honored Contributor

Re: command remote

Jairo,

If you set up an .rhosts file on your unix box, your NT should be able to execute commands on your hp unix box:

C:\>rsh vpart1 -l root who
root ttyp3 Mar 18 14:47
root ttyp1 Mar 12 08:10
root ttyp2 Mar 12 16:32
root ttyp4 Mar 18 14:47

C:\>


live free or die
harry
Live Free or Die
Dave La Mar
Honored Contributor

Re: command remote

Deepak Extross
Honored Contributor

Re: command remote

As others have pointed out, you can use the 'r' commands - rsh, rcp, etc. but bear in mind that once you make your NT machine trusted to your UNIX box, it anyone logged onto the NT machine could run potentially dangerous commands on the UNIX box.
If all you want is a listing of the files on the UNIX box, why not just ftp in passive mode and run a 'ls -l'?
federico_3
Honored Contributor

Re: command remote

the first thing you have to do is set the NT hostname and account in the .rhosts file in the UNIXuser home directory and afterwards....

From DOS prompt type:

rsh UNIXservername -l UNIXuser -n UNIXcommand




Ciao
Federico
K.Vijayaragavan.
Respected Contributor

Re: command remote

Hi,

I Think you are trying to get a tool for minimum level of keyborad interaction with unix.

Humming bird's "exceed" s/w may do.

-Vijay
"Let us fine tune our knowledge together"