Google Compute Engine scp Files on a Linux or Unix or Mac OS X
To use scp to copy files to or from a Google Compute Engine instance:
- Open a terminal window.
- Use the following format to copy a file from your local machine to the instance:
scp @ :
- Use the following format to copy a file from the instance to your local machine:
scp @ :
Note: Replace with the username of your account on the instance, with the IP address of the instance, and and with the appropriate file paths.
