1
我试图ssh到谷歌计算引擎使用gcloud,这用于正常工作。但由于某种原因,我现在一直在撞墙。它可以在控制台上正常工作。该实例是框标准的默认实例。sshing使用gcloud导致拒绝代理
我不断收到
google compute ssh test
sign_and_send_pubkey: signing failed: agent refused operation
Permission denied (publickey).
更冗长
google compute ssh test -vvv
...
bug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /home/mike/.ssh/google_compute_engine
debug3: send_pubkey_test
debug3: send packet: type 50
debug2: we sent a publickey packet, wait for reply
debug3: receive packet: type 60
debug1: Server accepts key: pkalg ssh-rsa blen 279
debug2: input_userauth_pk_ok: fpSHA256:bW6Bpi2N67+MIGbRkfLRcdl5ghxQWOAtiRiYazy1JXU
debug3: sign_and_send_pubkey: RSA SHA256:bW6Bpi2N67+MIGbRkfLRcdl5ghxQWOAtiRiYazy1JXU
sign_and_send_pubkey: signing failed: agent refused operation
我曾尝试用新的项目,但相同的结果。重新安装谷歌云sdk,同样的结果。我必须错过一些设置值,但我不知道我缺少什么。我有SSH密钥(由gcloud创建标准的,叫google_compute_engine(的.pub)在我的.ssh目录。
任何建议,将不胜感激。
干杯,迈克
您可以在您尝试SSH的虚拟机上添加更多详细信息吗?它是如何创建的?从什么形象? –
它是一个标准的debian实例(在问题中更新)。我实际上正在尝试这个,因为我在使用动态创建的实例时遇到了麻烦,因为它使用了[compute-video-demo-ansible]。 – Mike