The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Connection to another Unix machine decci_7 UNIX for Advanced & Expert Users 6 11-06-2006 02:52 AM
Getting Unix machine IP address asutoshch Shell Programming and Scripting 6 04-30-2006 05:14 AM
missing Path(in UNIX) when i launch a job on to unix machine using windows SSh megastar UNIX for Advanced & Expert Users 1 11-04-2005 03:36 AM
ftp connect from unix to NT machine anthreedhr Windows & DOS: Issues & Discussions 8 09-07-2005 08:48 AM
Unix Virtual Machine? Smeeg UNIX for Dummies Questions & Answers 3 12-19-2001 07:47 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-05-2004
Registered User
 

Join Date: Jun 2004
Location: india
Posts: 3
rcp between two unix machine

rcp user@hostname:sourcefile destfile

when i use the above command i get the followin error:

remshd:login incorrect.

i have taken care of entries in .rhosts and hosts.equiv. the userid
on both the system is the same. is there any thing i have missed out

please help me
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 06-05-2004
zazzybob's Avatar
Registered Geek
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
For a start, the user@hostname: bit should come before destfile, e.g.

Code:
rcp sourcefile user@hostname:destfile
If your source and target machines support scp, use that instead as it's far more secure.

Cheers
ZB
Reply With Quote
  #3 (permalink)  
Old 06-06-2004
Registered User
 

Join Date: Jun 2004
Location: india
Posts: 3
rcp between two unix machine

Quote:
Originally posted by zazzybob
For a start, the user@hostname: bit should come before destfile, e.g.

Code:
rcp sourcefile user@hostname:destfile
If your source and target machines support scp, use that instead as it's far more secure.

Cheers
ZB
hi zazzybob,

lets assume i have two unix machine A & B. If i want to copy a file from system B, how will the above command work. My source file is residing on system B.

bye
Reply With Quote
  #4 (permalink)  
Old 06-07-2004
malcom's Avatar
Registered User
 

Join Date: Jul 2003
Location: Germany
Posts: 78
Hi,

you can also do your syntax, but than you also have to enter the server B on the server A.

you are copying a file initiated by server b to server a which means server a needs also the authentication config for server b.

regards
malcom
Reply With Quote
  #5 (permalink)  
Old 06-08-2004
Registered User
 

Join Date: Jun 2004
Location: india
Posts: 3
rcp between two unix machines

I have ensured that the Login id on both the system is the same.

I have taken care of entries in .rhosts and /etc/hosts.equiv on both the systems.

I am able to ping, ftp, rlogin between two systems.

YET rcp gives the following error:

remshd:login incorrect.

clue: rlogin is asking for passwd, which should not be the case
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 03:54 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0