我在PuTTY上生成了两个键:公共密钥和私有密钥。在windows上使用这个软件,我可以像往常一样连接到服务器。
然后,我尝试在我的ubuntu机器(21.04)中复制这些文件,并登录到加载私钥(打开putty,编写user@hostname,然后在SSH>Auth加载私钥),但是无法连接被服务器拒绝,因为这个错误说:
Unable to load key file '~/private_key.ppk' (PuTTY key format too new).
一个新兴的窗口似乎在说:
No supported authentication methods availa
端口已打开,防火墙已禁用,但连接被拒绝,并显示以下消息:
"Read from socket failed: Connection reset by peer".
同一主机中的其他服务响应良好。
通过Google Cloud控制台的SSH得到相同的错误。
Google Compute Engine有没有其他方法来获取shell?