cancel
Showing results for 
Search instead for 
Did you mean: 

remsh from HPUX to Linux 9

Jeff Bruce
Occasional Contributor

remsh from HPUX to Linux 9

I can't remsh from my HP server to a Linux server running 9. I want to resh so I can run mozzila from the Linux server and have the display on my xterm without a passwd.


That which does not kill me, makes me stronger
5 REPLIES
Steven E. Protter
Exalted Contributor

Re: remsh from HPUX to Linux 9

By default Red Hat does not authorize this insecure service.

To authorize it on Red Hat you will need:

a .rhosts file in the root directory of the user.

modify the daemon in /etc/xinetd.d/

for the Berklhy protocols and change where it says disable=yes to disable=no

service xinetd restart

You are however much better off with HP-UX Secure Shell and openssl on the Red Hat side.

You can exchange public keys with the doc I'm attaching and then commands will work.

remesh systemname "cat /etc/issue"

becomes

ssh systemname "cat /etc/issue"

Check out Chris Vail's excellent doc.

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
Caesar_3
Esteemed Contributor

Re: remsh from HPUX to Linux 9

Hello!

You should enable the rsh on the linux
in /etc/xinetd.d/rsh you should remove line
of disable.
Add the HPUX to ~/.rhosts that could do the
remsh.
Stop the iptables service (and ipchains)
Restart the xinetd service.

Caesar
Huc_1
Honored Contributor

Re: remsh from HPUX to Linux 9

Dont use rsh if you can avoid it ! It is today a tool of the past.

Use ssh it is so much safer and does the job just as well

You may have to install this on the HP it is usualy install on most Linux distributions

You will have an initial setup to get you keys wooking without password, but once that is done ! you will forget about it.

Have a look at the man page ssh, scp, sftp, ssh-add, ssh-agent, ssh-keygen, sshd and do a search in this forum on ssh you will find lots of links white papers and helpfull informations;

Jean-Pierre


Smile I will feel the difference
Francisco J. Soler
Honored Contributor

Re: remsh from HPUX to Linux 9

Hi Jeff,

In the linux box go to the file /etc/pam.d/rsh

comment the lines:
#auth required /lib/security/pam_securetty.so
#auth required /lib/security/pam_nologin.so

HTH
Frank.
Linux?. Yes, of course.
Krishna Prasad
Trusted Contributor

Re: remsh from HPUX to Linux 9

You can put openssh on both HP-UX and Linux to rid the security problems with remsh.
Positive Results requires Positive Thinking