无法建立通过 Google Cloud Launcher 部署的 Elasticsearch 的隧道



我正在尝试建立一个通往我用谷歌启动器设置的弹性堆栈的隧道。但是,我遇到了这个问题。我尝试更新腻子/痨眼。重置它生成的 .ssh。视窗平台。有人知道如何解决吗?

gcloud compute ssh --ssh-flag=-L9200:localhost:9200 --project=xxxxx --zone=us-central1-f elasticsearch-1-elastic-vm-0
ERROR: (gcloud.compute.ssh) [C:google-cloud-sdkgoogle-cloud- 
sdkbinsdkputty.exe] exited with return code [1].

plink:未知选项"-L9200:本地主机:9200">

命令中"-L"后面缺少一个空格,并且应使用双引号传递标志,如文档中所示。

gcloud compute ssh --

ssh-flag="-L 9200:localhost:9200" --project=xxxxx --zone=us-central1-f 弹性搜索-1-弹性-VM-0

最新更新