【发布时间】:2021-04-27 05:53:55
【问题描述】:
我无法在 SSH 中使用“gcloud app deploy”,所以现在我需要获取这些文件并将它们带入我的 Google 存储库(我的项目)然后部署,以便我使用这些文件(包括用于网站的 html)。以下是文件在 SSH 中的样子:
jinthemix@cloudshell:~ (website-deploying-gc)$ ssh jinthemix@vergil.u.washington.edu
Password: _
Last login: Wed Jan 20 20:20:45 2021 from 157.119.197.35.bc.googleusercontent.com
vergil11$ ls
GITREPOS IMD233 Mix 1 Mix 2 Mix 3 Mix 4 Files public_html README.md websitedeployinggc
vergil11$ cd Files
vergil11$ cd websitegc
vergil11$ ls
app.yaml IMD233 Files README.md www
vergil11$
这就是谷歌云的样子(除了已经存在的文件之外,没有其他文件):
jinthemix@cloudshell:~ (website-deploying-gc)$ ls
README-cloudshell.txt
jinthemix@cloudshell:~ (website-deploying-gc)$
任何关于如何将文件复制到本地谷歌云项目的想法都会有所帮助,谢谢
【问题讨论】:
-
您想将文件从该服务器
vergil.u.washington.edu复制到 CloudShell? -
是的,我想将文件从服务器(ssh)复制到 CloudShell
-
具体在项目中标明到代码中(website-deploying-gc)(也是下一次我只是将Bitbucket中的文件复制到项目中)
标签: google-cloud-platform ssh deployment bitbucket gcloud