Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/ssh/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
无法在Google云实例上使用ssh_Ssh_Google Cloud Platform_Gcloud - Fatal编程技术网

无法在Google云实例上使用ssh

无法在Google云实例上使用ssh,ssh,google-cloud-platform,gcloud,Ssh,Google Cloud Platform,Gcloud,我被送到我的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. 再次尝

我被送到我的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\u load\u public:没有这样的文件或目录”。超时错误建议阅读故障排除指南:


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

无法从控制台进行SSH。但正在尝试拍摄磁盘快照。根据快照,磁盘的可用空间为70%。关于网络,我可以ping服务器。你应该可以从控制台ssh。你有什么错误?。也许您的终端上的防火墙正在阻止传出ssh连接。错误行:“debug1:key\u load\u public:没有这样的文件或目录”表明在服务器上找不到公钥,因此无法验证您的私钥。可能存在重复的