send data from VM to laptop

37 views
Skip to first unread message

Pengyuan Zhou

unread,
Apr 9, 2019, 9:20:50 AM4/9/19
to Google App Engine

Hi, all

I'm familiar with the rule setting of GCP VM and could let traffic get through ingress port.


However, when I want to send data from the VM to my phone or laptop, even I already have a rule allowing data send to any ip from any egresss port, it still fails.


Any idea is appreciated.

Thanks.

James ( Cloud Platform Support)

unread,
Apr 17, 2019, 9:17:25 AM4/17/19
to Google App Engine
Hello Pengyuan,

You can transfer files from a VM through a few different ways. 

You can transfer from the Google Cloud shell[1] by running the following command:

gcloud compute scp <instance-name>:~/<file-name> ~/Documents/

Or you can SSH/RDP depending on the host VM OS and use the Download file option. These methods are outlined with the exact steps in the article below but either or should allow you to transfer the files.

The scp method does require you to have port 22 open.


Reply all
Reply to author
Forward
0 new messages