title: ERROR: (gcloud.compute.scp) [/usr/bin/scp] exited with return code [1]
body: <p>I'm just trying to move a simple text file from the local host to the remote host. I'm using Google's Cloud computing and more specifically,  I'm using the gcloud command line tool.  Here are the instructions and errors I received:</p>
  
  <pre><code>Admins-MacBook-Pro-4:downloads kylefoley$ gcloud compute scp lst_calc.txt instance-1:/home/kylefoley76/hey.txt
  No zone specified. Using zone [us-central1-a] for instance: [instance-1].
  Updating project ssh metadata...⠧Updated [https://www.googleapis.com/compute/v1/projects/atomic-drake-250022].
  Updating project ssh metadata...done.                                             
  Waiting for SSH key to propagate.
  Warning: Permanently added 'compute.1494876250178113937' (ECDSA) to the list of known hosts.
  Enter passphrase for key '/Users/kylefoley/.ssh/google_compute_engine': 
  Enter passphrase for key '/Users/kylefoley/.ssh/google_compute_engine': 
  scp: /home/kylefoley76/hey.txt: Permission denied
  ERROR: (gcloud.compute.scp) [/usr/bin/scp] exited with return code [1].
  </code></pre>
  
  <p>I then tried putting <code>root@</code> in front of the remote path and got the following error:</p>
  
  <pre><code>Admins-MacBook-Pro-4:downloads kylefoley$ gcloud compute scp lst_calc.txt root@instance-1:/home/kylefoley76/hey.txt
  No zone specified. Using zone [us-central1-a] for instance: [instance-1].
  Updating project ssh metadata...⠛Updated [https://www.googleapis.com/compute/v1/projects/atomic-drake-250022].
  Updating project ssh metadata...done.                                             
  Waiting for SSH key to propagate.
  Enter passphrase for key '/Users/kylefoley/.ssh/google_compute_engine': 
  root@35.193.247.37: Permission denied (publickey).
  Enter passphrase for key '/Users/kylefoley/.ssh/google_compute_engine': 
  root@35.193.247.37: Permission denied (publickey).
  Enter passphrase for key '/Users/kylefoley/.ssh/google_compute_engine': 
  root@35.193.247.37: Permission denied (publickey).
  Enter passphrase for key '/Users/kylefoley/.ssh/google_compute_engine': 
  root@35.193.247.37: Permission denied (publickey).
  Enter passphrase for key '/Users/kylefoley/.ssh/google_compute_engine':
  </code></pre>
  
  <p>It was then clear that the program was caught in an infinite loop of some kind.</p>
  
  <hr>
  
  <p>UPDATE</p>
  
  <hr>
  
  <p>Also, I want to make it clear that my problem is not a linux problem but a gcloud problem.  A lot of people who have this problem recommend putting the files in the <code>/tmp</code> folder. On the remote Linux computer that I'm connected to it seems that I have all of the necessary permissions.  I've created folders and files on this remote machine and I've moved the files around with terminal, so I think that rules out the possibility that my problem lies with the permissions of the Linux computer itself.</p>