我不知道我在这里哪里犯了错。我的命令vagrant up返回以下几行
$ vagrant up
Check your Homestead.yaml file, the path to your private key does not exist.
Check your Homestead.yaml file, the path to your private key does not exist.

发布于 2017-06-10 04:45:46
您希望从终端执行以下步骤
生成ssh密钥ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
启动ssh代理eval "$(ssh-agent -s)"
将您的SSH私钥添加到ssh代理ssh-add -k ~/.ssh/id_rsa
然后运行vagrant up
发布于 2017-10-20 07:56:21
您不需要生成密钥。只需运行以下命令:
# touch ~/.ssh/id_rsa
然后
# vagrant up
发布于 2017-12-13 16:39:37
Windows用户可以使用PuTTYgen生成公钥私钥对。然后将公钥保存为mypublickey.pub。私钥为myprivatekey.ppk。
在homestead.yaml中,更改为以下内容:
authorize: C:\Users\YOUR_USERNAME\.ssh\mykey.pub
keys:
- C:\Users\YOUR_USERNAME\.ssh\myprivatekey.ppkhttps://stackoverflow.com/questions/44463987
复制相似问题