Operating System - Linux
1829233 Members
21934 Online
109987 Solutions
New Discussion

Linux to HP-UX remsh backup

 
Ronald Angel
Occasional Advisor

Linux to HP-UX remsh backup

I'm attempting to back up a Linux machine to one of our HP-UX 11.0 machines using tar & remsh. I get "remshd: Couldn't look up address for your host". nslookup returns the correct name & IP on both systems for both systems. Any ideas?
4 REPLIES 4
Vitaly Karasik_1
Honored Contributor

Re: Linux to HP-UX remsh backup

what about reverse resolution?

nslookup xx.yy.zz.xx ?

Regards,
Vitaly
Steven E. Protter
Exalted Contributor

Re: Linux to HP-UX remsh backup

set up the .rhosts files or /etc/hosts.equiv files with IP addresses instead of hostnames.

Then if there is a reallignment of your network names or your DNS server goes down this process will still work.

Openssh and Secure Shell(HP-UX) is a much more secure way to accomplish the same thing without the vulnerabilities involved in your current process.

I'm attaching a doc on password free public key exchange that works on both platforms(I tested it).

SEP

Thanks again to Chris Vail
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
Bill Douglass
Esteemed Contributor

Re: Linux to HP-UX remsh backup

remshd, by default, tries to do a reverse lookup on a host's IP address (i.e., 192.168.0.4 -> myhost.somedomain.com).

You can disable this by specifying the -s option for remshd in /etc/inetd.conf

shell stream tcp nowait root /usr/lbin/remshd remshd -s

(providing you have current patches applied for the r-cmds; the unpatched version of 11.0 does not have this option)

If you have control over DNS, then you could add reverse look-up records for your Linux machine.
Donny Jekels
Respected Contributor

Re: Linux to HP-UX remsh backup

I remsh daily from my linux host to all our HP-UX servers.

I found that in some boxes you have to put the FQDN of the linux box in the .rhosts file. NOt sure why that happens, been over lots of config issues.

anyway, the fasted way to get remsh to work,

is

create a dot r hosts file on the remote machine and add the line



save the file, chmod 400 .rhosts

done,



peace
Donny
"Vision, is the art of seeing the invisible"