Is there a default password to connect to vagrant when using `homestead ssh` for the first time?

前端 未结 5 2020
礼貌的吻别
礼貌的吻别 2021-01-30 05:02

I\'m trying to connect to vagrant via homestead ssh:

vagrant@127.0.0.1\'s password:

But my public key password doesn\'t work.

5条回答
  •  温柔的废话
    2021-01-30 05:29

    By default Vagrant uses a generated private key to login, you can try this:

    ssh -l ubuntu -p 2222 -i .vagrant/machines/default/virtualbox/private_key 127.0.0.1
    

提交回复
热议问题