General discussion

Locked

copy files with remsh command

By ghassans ·
when I do this from serverx I get 1 filed) copied but from servery I get access denied .

the two servers are at the same segment , what I can do in order to solve this problem .


I tried allot things and didn't success. can u help ???


remsh imis_internet -n "rcp -a \\\\serverx\interfaces\label\ampo713.eee \\\\barcode01\labels\\"

i have a hp server with HP-Unix 1.00 and erp application
i configured the user at the samba that he can write and delete files at the file smd.conf
from the pc he do : \\serverx\labels and he inter to the folder as soon as they need to run somthing ( commands ) it's failed when do the command that i typed can any one help me thanks allot

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

copy files with remsh command

by Stillatit In reply to copy files with remsh com ...

Whether or not remsh works is a function of whether the particular user at the particular host being used has access to the account being accessed on the target machine. This is typically set in the .rhosts file in the user's home directory, which must be write-protected from other users. (See man rhosts)

Looking at your remsh command above, that should be \\\\barcode01\\labels\\, otherwise the slash before 'labels' will disappear.

Good luck.

Collapse -

copy files with remsh command

by Shanghai Sam In reply to copy files with remsh com ...

i tray it and didn't work

i get the masseg acces denied

Collapse -

copy files with remsh command

by wls In reply to copy files with remsh com ...

Even better -- go take a look at the rsync application. If you use Samba, you'll have NO PROBLEM understanding rsync.

Collapse -

copy files with remsh command

by ghassans In reply to copy files with remsh com ...
Collapse -

copy files with remsh command

by ghassans In reply to copy files with remsh com ...

This question was closed by the author

Back to Linux Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums