SFTP 到谷歌计算引擎 [英] SFTP into Google Compute Engine
问题描述
I have been playing around with Debian on Compute Engine and was wondering how I could SFTP into the server. I can't find any documentation on it and was hoping someone could point me in the right direction.
Thanks!
If this isn't possible, is the best way to manage static sites through SCP?
At a high level, these are the steps:
- Install and run the gcloud SDK (
$ gcloud init
) - Generate SSH key (
$ gcloud compute ssh
) - Setup the FTP client (install and add the key file)
- Connect to the VM using the SFTP client
Assuming this question was asked here before this documentation from Google was available.
Also, I have recorded this, it might be helpful:
https://www.youtube.com/watch?v=9ssfE6ODpak
And just an FYI .. if the files that you need to transfer are pretty small in size then maybe you don’t need a SFTP client. Transfer directly from the console as seen here https://youtu.be/HEdXEEYOynE
这篇关于SFTP 到谷歌计算引擎的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!