在Google Compute Engine上访问FTP [英] Accessing FTP on Google Compute Engine

查看:206
本文介绍了在Google Compute Engine上访问FTP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在debian-7-wheezy上运行了一个实例,我对Google Compute Engine有点新鲜。
我浏览了本网站上的支持请求和Google网站上的常见问题解答,但我没有发现任何可以完全遵循的东西。



我知道一小部分关于Linux(管理一个专门的Debian盒大约6个月),但我无法访问我希望能够逐步了解如何使用WinSCP(或另一个文件浏览器)访问FTP / SFTP,以及如何使用WinSCP来访问FTP / SFTP。以及我如何使用Putty从创建实例的实例连接到实例,从我的家用PC访问SSH。



预先感谢您的帮助,感到抱歉使用gcloud(作为Google Cloud SDK的一部分提供)使用SSH连接到您的实例。

  gcloud compute ssh instancename 



<如果您是第一次连接,这会提示您创建SSH密钥。作为其中的一部分,它还将创建 .ppk 文件,该文件将用于Putty到您的实例中的SSH。



下载并安装FileZilla



转到编辑 - > 设置 - > SFTP



点击添加密钥文件按钮,并将其指向生成的PPK文件。



<一旦完成,您可以使用FileZilla SFTP连接到您的实例。在主机字段中指定实例的公共IP地址(stfp:// instanceipaddress)。您不需要指定任何密码。


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.

解决方案

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.

这篇关于在Google Compute Engine上访问FTP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆