Cloud GC计算引擎:无法访问VM';s

Cloud GC计算引擎:无法访问VM';s,cloud,google-compute-engine,google-cloud-platform,gcloud,Cloud,Google Compute Engine,Google Cloud Platform,Gcloud,默认启动脚本不会自动安装,因此会出现错误。 显示的错误为:“由于未授权用户帐户进行远程登录,连接被拒绝” 我试过一些命令,但没有成功。我如何克服这个问题 正如马吕斯指出的,串行控制台输出是可以预期的。两个考虑因素: 1-您的初始用户名必须与主机名/VM名称不同,并且 2-在VM创建过程中选择的密码必须满足密码复杂性要求: 至少有8个字符 请遵循这些附加说明 不能包含任何不受支持的非ASCII字符 可以找到关于GCE文档的全面窗口。还考虑到Windows VMS在它们完全可用之前通常需要大约1

默认启动脚本不会自动安装,因此会出现错误。 显示的错误为:“由于未授权用户帐户进行远程登录,连接被拒绝”


我试过一些命令,但没有成功。我如何克服这个问题

正如马吕斯指出的,串行控制台输出是可以预期的。两个考虑因素:

1-您的初始用户名必须与主机名/VM名称不同,并且

2-在VM创建过程中选择的密码必须满足密码复杂性要求:

  • 至少有8个字符
  • 请遵循这些附加说明
  • 不能包含任何不受支持的非ASCII字符
可以找到关于GCE文档的全面窗口。还考虑到Windows VMS在它们完全可用之前通常需要大约10分钟,如在

中描述的,您在哪里得到错误“连接被拒绝,因为用户帐户未被授权用于远程登录”?是在尝试RDP到实例时发生的吗?您看到的错误表明元数据中没有自定义启动脚本,您可以忽略这些脚本。您可能希望尝试在创建时设置的初始用户和密码,您可以通过运行$gcloud compute实例来获得这些信息
Calling oobe-script from metadata.
attributes/sysprep-oobe-script-bat value is not set or metadata server is not reachable.
attributes/sysprep-oobe-script-cmd value is not set or metadata server is not reachable.
attributes/sysprep-oobe-script-ps1 value is not set or metadata server is not reachable.
Running schtasks with arguments /run /tn GCEStartup
--> SUCCESS: Attempted to run the scheduled task "GCEStartup".
-------------------------------------------------------------
Instance setup finished. palids is ready to use.
-------------------------------------------------------------
Booting on date 02/14/2015 15:34:18 
attributes/windows-startup-script-bat value is not set or metadata server is not reachable.
attributes/windows-startup-script-cmd value is not set or metadata server is not reachable.
attributes/windows-startup-script-ps1 value is not set or metadata server is not reachable.