05-13-2008
Are the users on A and B the same ?
Quote:
Originally Posted by
nehak
Hi,
The B machine is using rcp method to copy a file to A machine.
But it is not getting copied.
Its giving the error as:
remshd: Login incorrect.
On A machine rhosts file has details about the B machine.
Could anyone tell what could be done to make this work?
Any help is appreciated.
Thanks & Regards,
Neha
Hello,
is the user on A and B the same ?
.rhost has to belong to the user.
Is .rhost in the users dir on Box A ?
Have a look at :
Configuring .rhosts
Regards
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hii alll
I need a help from u all its regarding sunfire the config is 900*4 processor\8gb ram.
problem :-
3>ERROR: TEST = Quick Block Mem Test
3>H/W under test = CPU3 Bank 0 Dimm 2, J8001 side 1
3>Repair Instructions: Replace items in order listed by 'H/W under test' above.
3>MSG =... (1 Reply)
Discussion started by: solaris8in
1 Replies
2. UNIX Desktop Questions & Answers
hiii
i want to know how to install explorer in sparc e-250 OS solaris 8 iam able to install the software
iam able to install the explorer,i use to run
#./explorer -q -e
other than this what all i should run to get all details.but iam just getting some thing which not related to o/s or h/w... (3 Replies)
Discussion started by: solaris8in
3 Replies
3. UNIX for Advanced & Expert Users
hii alll
i have sunblade 1000 i get a error all of sudden cpu panic error this comes twice a day is this because of patches not installed in the system or its regarding memory or cpu can any one helpme out
thanks in advance
solaris (2 Replies)
Discussion started by: solaris8in
2 Replies
4. Solaris
hii alll
Thanks for all the previous support. I need some clarification, i have client who is having 5 sun workstation ( ultra5 & ultra 10 and 1 ultra60) they orderd for backup device DLT drive , iam going to connect this dlt drive sparc ultra 60 i can configure locally,but my client... (1 Reply)
Discussion started by: solaris8in
1 Replies
5. Solaris
hii alll
i have a problem with my sunblade100. when i switch on, no display comes but if i ping from a remote machine its pinging,but iam not able to telent to that sun server,what can be the problem,how can i sort ot this issue
2 thing in usb iam not able to use STOP N (to clear the... (3 Replies)
Discussion started by: solaris8in
3 Replies
6. Solaris
Hii alll
Thanks for the support, iam facing a problem regarding tanberg sdlt . iam trying to connect tanberg sdlt 160 to sun fire 880 r .As SUN FIRE DOSENT HAVE SCSI CONTROLLER IAM CONNECTING A ULTRA 2 SCSI CONTROLLER IN PCI SLOT AND FROM THERE IAM CONNECTING THE TANBERG SDLT 160.
MY FIRST... (1 Reply)
Discussion started by: solaris8in
1 Replies
7. AIX
Hey Alll
Thanks for the help u give me yesterday,i need a help again from u all guys i have RS 6000 server with AIX 4.3.3 OS and with external storage (multipack) with 12 Hard disk drive which will be connected to RS 6000 scsi controller ,i dont have any raid card. now i have to... (0 Replies)
Discussion started by: solaris8in
0 Replies
8. Linux
Hey All
I have been asked to install Teacup - Helpdesk report management system .Iam trying to insall this software on Redhat 9, iam not that good in linux but i have been asked to instal this software so need ur help regarding this . i have installed redhat 9 .
This is site where u guys can... (0 Replies)
Discussion started by: solaris8in
0 Replies
9. AIX
i read that an application can remain as a 32-bit applicarion and still run on a 64-bit operating system without any code changes.
But some documents also suggest that during porting 32 bit applications need to have code changes especially pointers and int and long and that they should be... (2 Replies)
Discussion started by: TECHRAMESH
2 Replies
10. AIX
I am new to AIX administration and am trying to upgrade my current TL from 6100-05 to 6100-07 , I had a look at the fix central and I have downloaded one which says TL 6100-07-00-1140 and other which says service pack 6100-07-05-1228. I have two test machines and I have applied directly... (0 Replies)
Discussion started by: nivaspIND
0 Replies
rcp(1c) rcp(1c)
Name
rcp - remote file copy
Syntax
rcp [ -p ] file1 file2
rcp [-r] [-p] file... directory
Description
The command copies files between machines. Each file or directory argument is either a remote file name of the form rhost:path, or a local
file name. Local file names do not contain colons (:) or backslashes () before colons.
Note that the command refuses to copy a file onto itself.
If path is not a full path name, it is interpreted relative to your login directory on rhost. To ensure that the metacharacters are inter-
preted remotely, a remote host's path can be quoted by either using a backslash () before a single character, or enclosing character
strings in double (") or single (') quotes.
The command does not prompt for passwords; your current local user name must exist on rhost and allow remote command execution via
The command handles third party copies, where neither source nor target files are on the current machine. Hostnames may also take the form
rname@rhost to use rname rather than the current user name on the remote host. The following example shows how to copy the file foo from
user1@mach1 to user2@mach2:
$ rcp user1@mach1:foo user2@mach2:foo
Note that the file .rhosts on mach2 in user2's account must include an entry for mach1 user1. Also note that it may be necessary for the
person implementing the command to be listed in the .rhosts file for mach1 user1.
By default, the mode and owner of file2 are preserved if file2 already exists. Otherwise, the mode of the source file modified by on the
destination host is used.
Options
-p Preserves the modification times and modes of the source files in its copies, ignoring the
-r Copies files in all subdirectories recursively, if the file to be copied is a directory. In this case the destination must be a
directory.
Restrictions
The command is confused by output generated by commands in a .cshrc file on the remote host. In particular, `where are you?' and `stty:
Can't assign requested address' are messages which can result if output is generated by the startup file.
See Also
ftp(1c), rlogin(1c), rsh(1c)
rcp(1c)