Skip to content
TrySitePrice

Google Compute Engine scp Files on a Linux or Unix or Mac OS X

Best/Tutorial

To use scp to copy files to or from a Google Compute Engine instance:

  1. Open a terminal window.
  2. Use the following format to copy a file from your local machine to the instance:

    scp    @ :

  3. Use the following format to copy a file from the instance to your local machine:

    scp  @ :

rnNote: Replace with the username of your account on the instance, with the IP address of the instance, and and with the appropriate file paths.