powershell - 如何在新的 Windows 终端中使用 Google Cloud Shell

标签 powershell google-cloud-platform google-compute-engine windows-terminal

我只想使用新的 Windows 终端应用程序中的配置文件通过 SSH 连接到我的计算实例。

最佳答案

这对我有用:"commandline": "cmd.exe /k \"C:/Users/**YOUR_USER**/AppData/Local/Google/Cloud SDK/cloud_env.bat\"" .
记住转义反斜杠。

关于powershell - 如何在新的 Windows 终端中使用 Google Cloud Shell,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62949119/

相关文章:

go - "No filesystem found for scheme gs"在谷歌云平台运行数据流时

pip - 下载/解压缩安装 googledatastore 时出错

.net - 使用 powershell 解析程序集依赖项引用

powershell - 如何评估来自标准输入的 PowerShell 脚本输入

python - 使用 storage.objectAdmin 权限在 Python 中写入 GCS 存储桶

kubernetes - GCP 中不允许使用磁盘创建 kubernetes 集群

powershell - 使用 Powershell 操作 CSV

powershell - 使用 PowerShell 创建应用程序安装程序

google-compute-engine - 从Cloud Compute实例连接到Kubernetes服务

node.js - 如何使用 Node 列出谷歌计算引擎存储的图像?