是否可以通过 ssh 使用 Google Cloud Shell? [英] Is it possible to use the Google Cloud Shell via a ssh?
本文介绍了是否可以通过 ssh 使用 Google Cloud Shell?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以通过 ssh 连接到 Google Cloud Shell 实例?也许以某种方式使用 gcloud?所以我可以将它与我最喜欢的终端(尤其是 iTerm)一起使用,而不是与基于 Web 的 shell 一起使用.
Is it possible to connect to the Google Cloud Shell instance via the ssh? Maybe somehow with gcloud? So I can use it with my favorite terminal (iTerm in particular) and not with the Web-based shell.
Answer: yes it is now been possible: https://cloud.google.com/blog/products/gcp/introducing-the-ability-to-connect-to-cloud-shell-from-any-terminal
推荐答案
是.从 gcloud CLI,运行 gcloud cloud-shell ssh
.这将与 Cloud Shell 建立交互式 SSH 会话.
Yes. From the gcloud CLI, run gcloud cloud-shell ssh
. This will establish an interactive SSH session with Cloud Shell.
参考:
这篇关于是否可以通过 ssh 使用 Google Cloud Shell?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文