我是谷歌云的新手,我刚刚部署了我的第一个实例,直到昨天它都运行良好,我上次使用本教程电子邮件服务器设置电子邮件服务器,但现在我无法在浏览器中连接 ssh,也无法连接谷歌云 sdk在终端。
网站运行正常,我不知道发生了什么 请帮助
浏览器中的错误信息
Connection Failed, and we are unable to connect VM on port 22.
Run Code Online (Sandbox Code Playgroud)
终端中的错误信息
Warning: Permanently added 'xxx.xxx.xxx.xxx' (ECDSA) to the list of known hosts.
Permission denied (publickey).
ERROR: (gcloud.compute.ssh) [/usr/bin/ssh] exited with return code [255].
Run Code Online (Sandbox Code Playgroud)
和串行控制台输出其显示
Jul 8 10:09:26 Instance sshd[10103]: error: Could not load host key:/etc/ssh/ssh_host_ed25519_key
Jul 8 10:09:27 Instance sshd[10103]: User username from 0.0.0.0 not allowed because not listed in AllowUsers
Jul 8 10:09:27 Instance sshd[10103]: input_userauth_request: invalid …
Run Code Online (Sandbox Code Playgroud)