Accessing FTP on Google Compute Engine

user3877342 picture user3877342 · Jul 25, 2014 · Viewed 39.5k times · Source

I'm running an instance on debian-7-wheezy and I'm sort of new to the Google Compute Engine. I have looked through both the support requests on this site and the FAQ post on the Google website; however I found nothing that I could follow completely.

I know a small amount about Linux (managed a dedicated Debian box for about 6 months), but I can't access SSH from my home PC either.

I would love a step-by-step walkthrough on how I can go about accessing FTP/SFTP using WinSCP (or another file browser) and how I can access SSH from my home PC using Putty from creation of the instance to connection to the instance.

Thank you in advance for your help and sorry for being a newb.

Answer

user1159790 picture user1159790 · Aug 17, 2014

Using gcloud (provided as part of Google Cloud SDK) connect to your instance using SSH.

gcloud compute ssh instancename

If you are connecting for the first time, this will prompt you to create SSH keys. As part of this this will also create .ppk file which will be used to Putty to SSH into your instance.

Download and Install FileZilla

Goto Edit->Setting->SFTP

Click on Add Key File button, and point it to the PPK file generated.

Once this is done, you can connect to your instance using FileZilla SFTP. Specify your instance's public IP address in the host field (stfp://instanceipaddress). You would not need to specify any password.