第一次使用"homestead ssh"时,是否有默认密码连接到无业游民? [英] Is there a default password to connect to vagrant when using `homestead ssh` for the first time?

查看:143
本文介绍了第一次使用"homestead ssh"时,是否有默认密码连接到无业游民?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试通过homestead ssh连接到无业游民:

vagrant@127.0.0.1's password:

但是我的公共密钥密码不起作用.
我的Homestead.yaml看起来像这样:

authorize: ~/.ssh/id_rsa.pub

keys:
    - ~/.ssh/id_rsa

我正在将"Laravel Homestead版本2.0.14"与流浪者1.7.2"一起使用.

解决方案

尝试了很多密码并且完全弄不清楚为什么我的公钥密码不起作用后,我发现必须使用vagrant作为密码. /p>

也许此信息也对其他人有所帮助-那是因为我已经在此处写下了它.


根据Vagrant文​​档,用户vagrant的默认密码为vagrant.
在此处了解更多信息:>官方网站

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.
My Homestead.yaml looks like this:

authorize: ~/.ssh/id_rsa.pub

keys:
    - ~/.ssh/id_rsa

I'm using "Laravel Homestead version 2.0.14" with "Vagrant 1.7.2".

解决方案

After trying a lot of passwords and becoming totally confused why my public key password is not working I found out that I have to use vagrant as password.

Maybe this info helps someone else too - that's because I've written it down here.

Edit:
According to the Vagrant documentation there is a default password for the user vagrant which is vagrant.
Read more on here: official website

这篇关于第一次使用"homestead ssh"时,是否有默认密码连接到无业游民?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆