General discussion

  • Creator
    Topic
  • #2130754

    copy files with remsh command

    Locked

    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

All Comments

  • Author
    Replies
    • #3567715

      copy files with remsh command

      by stillatit ·

      In reply to copy files with remsh command

      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.

    • #3649660

      copy files with remsh command

      by wls ·

      In reply to copy files with remsh command

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

    • #3401933

      copy files with remsh command

      by ghassans ·

      In reply to copy files with remsh command

      This question was closed by the author

Viewing 2 reply threads