You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

Copying files to a local machine

file_copy_2024_MAR_07.zip

Using scp over multiple nodes is painful. This is a small script that does the job:

  1. Log onto the control server using ssh with remote port forwarding:
    ssh smeuren@fastx3.slac.stanford.edu -Y -R 40000:localhost:40000
    ssh smeuren@mcclogin -Y -R 40000:localhost:40000
    ssh fphysics@facet-srv20  -Y -R 40000:localhost:40000
  2. Start the server script on your local computer
  3. Run the client script on the control computer and send a file outside

Executing wget remotely

  • No labels