Operating System - HP-UX
1824222 Members
4044 Online
109669 Solutions
New Discussion юеВ

How to do a remsh from hpux to linux machine

 
Robjan
Frequent Advisor

How to do a remsh from hpux to linux machine

HiAll,

We have some script implemented in one Hp-UX server which check for health of every server through remsh .We do have linux servers also that need to be checked but this remsh command is not working .Please give some suggestions.

--Robin
4 REPLIES 4
Steven Schweda
Honored Contributor

Re: How to do a remsh from hpux to linux machine

> [...] this remsh command is not working .
> [...]

Which "remsh command is not working"?

What does "not working" mean, exactly, in
this case?

> Please give some suggestions.

Here's the most important one: Please show
the actual command which you are using, and
the actual output you get when you use it.

Others:

Reveal the HP-UX version, and identify the
Linux system.
Matti_Kurkela
Honored Contributor

Re: How to do a remsh from hpux to linux machine

In Linux, "remsh" is known as "rsh".

Most modern Linux distributions won't have the rsh service enabled by default. If you need it, you must first install it using the package management system of your Linux distribution.

After the installation, the rsh service (rshd) may need to be enabled using the standard service manipulation tools of your Linux distribution.

This is to prevent the service from being enabled accidentally and/or without understanding its security implications: the rsh service is not secure if a hostile host can assume the IP address of a trusted host.

The requirement to explicitly enable the service is there to protect the newbies who might select "install everything" when setting up the OS, then connect the computer to Internet without a properly-configured firewall.

Without knowing the name and version of your Linux distribution, I cannot give you any more detailed instructions.

MK
MK
Robjan
Frequent Advisor

Re: How to do a remsh from hpux to linux machine

I want to execute some commands remotely from hpux machine to a linux machine howcan i do it.
Ralph Grothe
Honored Contributor

Re: How to do a remsh from hpux to linux machine

Use SSH for that.
The Linux community (and all distributors) have relinquished all r* commands for years.
That's why it isn't working out of the box
but requires extra effort from the admin to enable it.
This is a safeguard to distract the unwary.
Also, if you really want to use r* commands,
note that by now the distributors often ship kerborized versions.
Of course you can also find non-kerborized versions but it is usually more hassle setting those up then using SSH.
Madness, thy name is system administration