title: Google VM instance transferring files using the gcloud command-line tool
body: <p>I have a website and I want to send a backup file to a my Google VM server on Google Cloud. </p>
  
  <p>At first I thought of using php and curl script but a minute before I started working on it I saw on <a href="https://cloud.google.com/compute/docs/instances/transfer-files#transfergcloud" rel="nofollow noreferrer">google site</a> that it is possible to send a file to google vm by gcloud I thought it was a good and simple solution, but when trying to work according to the directory I encountered a strange problem that I found no Answer.</p>
  
  <p>When I try to run the following code:</p>
  
  <pre><code>gcloud compute scp /root/mivzakim.php jtube-get-youtube-1:~
  </code></pre>
  
  <p>I get this error:</p>
  
  <blockquote>
    <p>ERROR: (gcloud.compute.start-iap-tunnel) Python version 2.7.6 does not support SSL/TLS SNI needed for certificate verification on WebSocket connection.
    ssh_exchange_identification: Connection closed by remote host
    lost connection
    ERROR: (gcloud.compute.scp) [/usr/bin/scp] exited with return code [ 1].</p>
  </blockquote>
  
  <p>I couldn't understand the connection to Python and I couldn't quite understand the meaning of this error,</p>
  
  <p>if anyone could help me, he would be blessed :) Thank you!</p>