[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

HOWTO HP-UX remsh to RHEL6

Posted on 2011-02-24
10
Medium Priority
?
1,678 Views
Last Modified: 2013-12-06

I have a HP-UX system that has a script on it that runs against a Linux system.
Were changing Linux systems so I need to configure remsh on the new linux system.

so I found rsh-server in the RHEL packages and Im going to dowload and install that but whats next ?
rsh-server-0.17-40.el5.i386 is the package... it says server thats the one I need right  to serve as an active listener for the HP-UX system?

I think so, but now how do I configure it ?...
thanks
0
Comment
Question by:JAaron Anderson
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 3
10 Comments
 
LVL 6

Accepted Solution

by:
de2Zotjes earned 500 total points
ID: 34977893
The rpm you mention is meant for rhel5, it might work out of the box on rhel6, but I would personally first try to use: yum install rsh-server.

On a completely different note, if you need to start doing work to make the connection work again. Why not do the work at the hp-ux end of thing and start using ssh. The whole rsh,rlogin,rcp suite of programs is inherently insecure and should not be used for anything where information is exchanged that is meant to be kept confidential or private in any way.

That being said after the package is installed the man page for rshd is available; "man rshd" (http://linux.die.net/man/8/rshd).
You can find in there that access is controlled by a number of steps, one of the places where you can have influence is in /etc/equiv.hosts and ~/.rhosts. Probably a good idea to look at the previous linux box you were connecting to find out what the settings in these files are

The service itself is run through xinetd, so you can configure whether is will listen through edtigin the settings in /etc/xinetd.d/rsh
0
 
LVL 10

Assisted Solution

by:Martin_J_Parker
Martin_J_Parker earned 1500 total points
ID: 34979030
Personally I would change the remsh command on HP-UX to use ssh and use the inbuilt ssh server instead. If necessary install ssh (secure shell) onto HP-UX.

ssh is far more secure and is more likely to be available by default on future systems.
0
 

Author Comment

by:JAaron Anderson
ID: 34979753
thx guys for the note on SSL not rsh however im already using SSL for another service on the same client box and am not sure if I could effectively wrangle separate dedicated keys concerned it would conflict with eachother and could chance downtime of critical services.

I also am in high appreciation of the fact that rsh is COMPLETELY INSECURE however we are using it within a "carefully firewalled private" sub-network .

moving forward with installing rsh yum driven package
0
Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

 
LVL 10

Assisted Solution

by:Martin_J_Parker
Martin_J_Parker earned 1500 total points
ID: 34979908
0
 

Author Comment

by:JAaron Anderson
ID: 34980183
interesting
when attempted with rpm, it said dependency missing xinetd required
but when I ran 'yum install rsh-server' in CLI it installed successfully ...

good to know... ;)
0
 

Author Comment

by:JAaron Anderson
ID: 34980339
oh ok I tried connecting and I authenticate but now it looks like I need to track down the rcp command and configure it...
0
 

Author Comment

by:JAaron Anderson
ID: 34980368
when I type in # rcp  in CLI it responds with usage flags so it must be active and listening ... now I figure Ill check my remote script making sure I have the full path correct ... I wonder is there anything else dependent to check which I may not have yet identified?

thx guys
0
 
LVL 10

Assisted Solution

by:Martin_J_Parker
Martin_J_Parker earned 1500 total points
ID: 34980412
Don't forget to give the user's .rhosts file 600 access AND make sure that the user's home directory does not have write access for other users or rsh won't let you in.
0
 

Author Comment

by:JAaron Anderson
ID: 34980534
thx Martin it rocks !
0
 

Author Closing Comment

by:JAaron Anderson
ID: 34980546
I wish every ticket I pose is answered as succinctly as these guys rocked on !
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question