gpt4 book ai didi

ssh - 无法在Google云端实例上使用ssh

转载 作者:行者123 更新时间:2023-12-02 14:02:13 24 4
gpt4 key购买 nike

我被骗到我的gcloud实例。我突然因以下错误登出:

Timeout, server 104.198.148.233 not responding.
ERROR: (gcloud.compute.ssh) [/usr/bin/ssh] exited with return code [255]. See https://cloud.google.com/compute/docs/troubleshooting#ssherrors for troubleshooting hints.

在再次尝试时,我得到以下提示:
OpenSSH_7.2p2, LibreSSL 2.4.1
debug1: Reading configuration data /Users/aapa/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 20: Applying options for *
debug1: Connecting to 104.198.148.233 [104.198.148.233] port 22.
debug1: Connection established.
debug1: identity file /Users/aapa/.ssh/google_compute_engine type 1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/aapa/.ssh/google_compute_engine-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.2

如何找到问题?我应该采取什么步骤。

最佳答案

错误是“key_load_public:没有这样的文件或目录”。超时错误建议您阅读故障排除指南:https://cloud.google.com/compute/docs/troubleshooting#ssherrors

该指南说,错误的可能原因可能是磁盘已满或网络出现问题。您的磁盘是否已满?您可以通过从SSH控制台访问实例来进行检查。

关于ssh - 无法在Google云端实例上使用ssh,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40589983/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com