Skip to content
Ryan Domingue edited this page Sep 24, 2018 · 4 revisions

SSH into Dreambox

The default vagrant user still exists, so you can use vagrant ssh to log into Dreambox.

However, you can also log in with a username you've had created via the vm-config (Password: vagrant).

Given the following values in the site's config object:

sites:
    'dreambox':
        host: 'dreambox.test'
        username: 'db_user'

The login command would be:

All users have passwordless sudo.

Host key verification failed

You're likely to get warnings about the host identity changing if you destroy and recreate the VM.

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
SHA256:k+/+Vsl7hUGf+Z2wxQDp8yrVvnHWrY/R36wWZZe+JTY.
Please contact your system administrator.
Add correct host key in /Users/username/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/username/.ssh/known_hosts:17
ECDSA host key for dreambox.test has changed and you have requested strict checking.
Host key verification failed.

To fix this, remove the old entry from your ~/.ssh/known_hosts file and try ssh again.

# Remove the host.
ssh-keygen -R <hostname>
Clone this wiki locally