Vagrant ssh 'private_key_path` file must exist

前端 未结 2 1371
故里飘歌
故里飘歌 2021-01-13 10:51

I\'m getting this error during vagrant up

There are errors in the configuration of this machine. Please fix
the following errors and try again:

SSH:
* `priv         


        
2条回答
  •  死守一世寂寞
    2021-01-13 11:04

    insecure_key should be a file containing an SSH key. The file should be in the same folder where you vagrant up. The following is an alternative:

    curl -o insecure_key -fSL https://github.com/phusion/baseimage-docker/raw/master/image/insecure_key chmod 600 insecure_key vagrant ssh

提交回复
热议问题