Operating System - HP-UX
1822474 Members
2389 Online
109642 Solutions
New Discussion юеВ

rsh / rlogin from windows to unix?

 
Jagadesh
Frequent Advisor

rsh / rlogin from windows to unix?

How can i do a rsh to execute any commands in unix from windows machine.

Iam not sure how to go about in doing the same in HPUX.

I tried the same in solaris9.
by adding the entry of windows machine name in
/.rhosts
/etc/host.equiv
and ip with hostname entry in /etc/hosts

but i could not able to do a rsh or rlogin from windows.

Kindly help me out in this regard.

Thanks
Jagadesh
4 REPLIES 4
Robert-Jan Goossens
Honored Contributor

Re: rsh / rlogin from windows to unix?

Hi,

try this one.

windows host
# rexec server -l name command

Robert-Jan
RAC_1
Honored Contributor

Re: rsh / rlogin from windows to unix?

and may be ssh, if you have set authentication right on hp-ux and windows.

Anil
There is no substitute to HARDWORK
Steven E. Protter
Exalted Contributor

Re: rsh / rlogin from windows to unix?

You can do it with secure shell/openssh, a much better idea.

http://www.networksimplicty.com

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
Jorge Peinado
New Member

Re: rsh / rlogin from windows to unix?

Hi

There's a set of console commands in Windows NT/2000/XP called rsh, rexec, rcp, etc.
They are in C:\WINDOWS\system32 or C:\WINNT\system32.

Although i don't have tested it fully, i believe they could work as expected between two UNIX machines, maybe using the POSIX subsystem included in Windows NT/2000/XP.

However, always is better to use SSH.

Best Regards,
Jorge.