Vagrant VM的SSH基础
我正在构建具有以下要求的无业游民机器(Ubuntu 12.04): 通过Vagrant对具有sudo-privileges的用户进行SSH访问。 我已经ssh-keygen在主机上(通过)生成了公共/私有密钥,并将公共密钥移到authorized_keys了客户机上的文件中。而且我尝试了无密码的SSH。 我vagrant ssh使用启用密码的SSH密钥键入以下几件事: 我必须在主机上键入密钥短语,然后才能通过SSH进入来宾VM。 每次我输入正确的关键字短语都不会被接受。 导致我得到以下错误消息: 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 …