我正在使用Windows Server 2008。
在执行gcloud compute ssh instance-1 --zone us-central1-a命令时,我收到以下错误提示:
ERROR: (gcloud.compute.ssh) Could not fetch instance:
- Invalid value 'EFOnline'. Values must match the following regular expression: '(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-
a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))'
明确一下,我确实进行了 gcloud auth login 并收到了成功的“您现在已通过身份验证”的消息。 我的项目名称是 EFOnline,我的实例名称为:instance-1 us-central1-a(请将其复制并粘贴到那里)
那么为什么会出现奇怪的正则表达式错误? 谢谢。