Re: copy from one remote machine to another

Zac.Williams_at_sungard.com
Date: 04/14/04

  • Next message: Steve Dimoff: "RE: files with a colon?"
    To: Jim Horwath <jim.horwath@rcn.com>
    Date: Wed, 14 Apr 2004 13:55:01 -0500
    
    





    You should be able to accomplish this with two lines. Something like this
    (from machine C).

    scp user1@machineA:/filelist
    ssh user1@machineA "user1@machineB:/filelist"

    Thanks,

    Zac Williams
    SunGard EBS
    (205) 437-7539


                                                                                                                                       
                          Jim Horwath
                          <jim.horwath@rcn. To: secureshell@securityfocus.com
                          com> cc:
                                                   Subject: copy from one remote machine to another
                          04/13/04 02:40 PM
                                                                                                                                       
                                                                                                                                       




    All,

    I have files I need to copy from one machine to another.
    Because of firewall configurations, I need to first copy the
    files to a third machine. Is it possible to copy files from
    machineA to machineB while executing the command from
    machineC.

    I am connected to machineC

    scp user1@machineA:/filelist user1@machineB:/filelist

    Is this possible, or am I living in way-out land.

    Regards,
    Jim



    --------------------------------------------------------
    Copyright © 2004 by SunGard Data Systems Inc. (or its subsidiaries,
    ''SunGard''). All rights reserved. No parts of this document may be
    reproduced or transmitted without SunGard’s prior written permission.

    This document contains SunGard's confidential or proprietary information.
    By accepting this document, you agree that: (A)(1) if a pre-existing
    contract containing disclosure and use restrictions exists between your
    company and SunGard, you and your company will use this information subject
    to the terms of the pre-existing contract; or (2) if no such pre-existing
    contract exists, you and your Company agree to protect this information and
    not reproduce or disclose the information in any way; and (B) SunGard makes
    no warranties, express or implied, in this document, and SunGard shall not
    be liable for damages of any kind arising out of use of this document.


  • Next message: Steve Dimoff: "RE: files with a colon?"