我正在构建具有以下要求的流浪机器(Ubuntu 12.04):
我已经ssh-keygen在主机上生成了公钥/私钥(通过)并将公钥移动到authorized_keys来宾上的文件中。我尝试过无密码 SSH。
我vagrant ssh使用启用密码的 SSH 密钥键入了一些事情:
这导致我收到以下错误消息:
SSH authentication failed! This is typically caused by the public/private
keypair for the SSH user not being properly set on the guest VM. Please
verify that the guest VM is setup with the proper public key, and that
the private key path for Vagrant is setup properly as well.
Run Code Online (Sandbox Code Playgroud)
然后我尝试了无密码 ssh。 …