1833813 Members
3034 Online
110063 Solutions
New Discussion

rcp HP-Ux to WinXP

 
SOLVED
Go to solution
Bill Brutzman
Frequent Advisor

rcp HP-Ux to WinXP

We want to copy files.

Although rcp works between our three HP-Ux boxes, the XP command...

c:\> rcp ford:/test.file c:\

comes back with...

ford: remshd: Login incorrect
rsh: can't establish connection

On the remote HP-Ux host "ford", we now have..

(file) (contains)

/home/bob/.rhosts chevy bob
/etc/hosts.equiv chevy bob

On the XP PC "chevy"

/etc/hosts.equiv ford bob

Microsoft's "Services for UNIX 3.5" is installed on the XP box.

Suggestions would be appreciated.

--Bill
5 REPLIES 5
harry d brown jr
Honored Contributor

Re: rcp HP-Ux to WinXP

try

rcp fort.root:/test.file c:\

and you really should be using the -b option!!

rcp -b fort.root:/test.file c:\

instead of root, you can use some other user that has .rhosts set up correctly!

live free or die
harry d brown jr
Live Free or Die
Geoff Wild
Honored Contributor
Solution

Re: rcp HP-Ux to WinXP

Or yet another way would be to setup a samba share on HPUX - then from XP, just copy from that share to the C:\ drive

http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B8725AA


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Steven E. Protter
Exalted Contributor

Re: rcp HP-Ux to WinXP

Consider openssh for windows instead.

No reason to open up another security hole in Windows.

Secure shell for HP-UX is free. http://www.networksimplicy.com has a free product for windows as well.

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
Nguyen Anh Tien
Honored Contributor

Re: rcp HP-Ux to WinXP

harry d brown jr
Honored Contributor

Re: rcp HP-Ux to WinXP


Bill,

I use rcp from my xp box to my ux boxes all the time and it works quite well. The issue is that rcp on windows is NOT LIKE rcp on ux's.

Windows uses a format like this:

rcp -b srcHOST.userNAME:/path/file destHOST.userNAME:/path/file

on your xp box open a command window (start->run->cmd)
then at a prompt enter rcp -help

live free or die
harry d brown jr
Live Free or Die