在我的一个Google Compute引擎实例中,我可以使用gcloud命令login: gcloud compute –project“My-Project”ssh –zone“zone-name”“instance-name”
但是我无法使用浏览器上的sshbutton或命令提示符进入ssh 。 以下是串行版本输出
Sep 7 02:00:35 my-gce-instance sshd [25823]:无效的用户pipe理从291.107.144.97
Sep 7 02:00:35 my-gce-instance sshd [25823]:input_userauth_request:无效的用户admin [preauth]
- Google Compute Instance Web SSH
- 如何创build一个谷歌以外的子域,并具有谷歌云虚拟机实例内的子域托pipe?
- 自定义内部IP实例
- 无法通过mosh连接到谷歌虚拟机
- 谷歌计算引擎负载平衡redirect到LXD容器
Sep 7 02:00:37 my-gce-instance sshd [25823]:断开连接:pipe理员authentication失败太多[preauth]
Sep 7 02:13:46 my-gce-instance sshd [26019]:198.180.78.102用户pipe理员无效
Sep 7 02:13:46 my-gce-instance sshd [26019]:input_userauth_request:无效的用户admin [preauth]
Sep 7 02:13:48 my-gce-instance sshd [26019]:断开连接:pipe理员authentication失败太多[preauth]
Sep 7 02:40:21 my-gce-instance sshd [26426]:从184.145.49.97端口56371接受的公钥为gsc ssh2:RSA c6:71:77:6d:56:e2:fb:b9:90:7d: DF:BB:76:51:12:9A
Sep 7 02:40:21 my-gce-instance sshd [26428]:从184.145.49.97:11收到断开连接:被用户断开
Sep 7 02:47:00 my-gce-instance sshd [26521]:无效用户xml2epay从193.107.155.192
Sep 7 02:47:00 my-gce-instance sshd [26521]:input_userauth_request:invalid user xml2epay [preauth]
Sep 7 02:47:01 my-gce-instance sshd [26521]:连接closures了193.107.155.192 [preauth]
Sep 7 02:49:54 my-gce-instance sshd [26567]:连接由96.58.125.162closures[preauth]
Sep 7 02:56:36 my-gce-instance sshd [26673]:从45.174.197.98端口57017接收publickey xxxx ssh2:RSA 89:3a:9c:6e:2a:e3:bb:83:bb:da:图4b:AC:C9:B5:C8:64
Sep 7 03:01:21 my-gce-instance sshd [26769]:来自92.100.179.159的用户pipe理无效
Sep 7 03:01:21 my-gce-instance sshd [26769]:input_userauth_request:无效的用户admin [preauth]
Sep 7 03:01:22 my-gce-instance sshd [26770]:来自92.100.179.159的无效用户pipe理
Sep 7 03:01:22 my-gce-instance sshd [26770]:input_userauth_request:无效的用户admin [preauth]
Sep 7 03:01:25 my-gce-instance sshd [26769]:断开连接:pipe理员authentication失败太多[preauth]
Sep 7 03:01:27 my-gce-instance sshd [26770]:断开连接:pipe理员authentication失败太多[preauth]
Sep 7 03:01:37 my-gce-instance sshd [26773]:断开连接:root [preauth]authentication失败太多
Sep 7 03:01:46 my-gce-instance sshd [26775]:断开连接:超级用户authentication失败[preauth]
Sep 7 03:01:51 my-gce-instance sshd [26777]:来自92.100.179.159的无效用户usuario
Sep 7 03:01:51 my-gce-instance sshd [26777]:input_userauth_request:invalid user usuario [preauth]
Sep 7 03:02:01 my-gce-instance sshd [26777]:断开连接:usuario [preauth]
Sep 7 03:04:35 my-gce-instance sshd [26838]:连接closures了78.195.41.87 [preauth]
Sep 7 03:04:38 my-gce-instance sshd [26840]:连接closures了143.188.93.184 [preauth]
Sep 7 03:04:42 my-gce-instance sshd [26842]:连接closures了143.188.93.180 [preauth]
Sep 7 03:04:45 my-gce-instance sshd [26844]:连接closures了143.188.93.98 [preauth]
gcloud命令进入VM实例。 运行下面的命令删除旧版本的GCE守护进程:
sudo apt-get purge --auto-remove gce-daemon gce-startup-scripts gce-cloud-config**
然后运行这个命令来安装新的GCE守护进程:
sudo apt-get install --reinstall gce-compute-image-packages python-google-compute-engine**
重新启动实例,并尝试通过Web浏览器进行SSH。