Skip to content
ldenman edited this page Apr 10, 2012 · 4 revisions

Arch linux notes

Be sure that the virtual box daemon is running: sudo rc.d start vboxdrv

Given a successful provision to vagrant, running ssh [email protected] should be all that you need to access the box.

If you notice that you are unable to connect, verify that you can ssh in with ssh -p 2222 deploy@localhost. If that works then it is possible that your vboxnet0 device does not have an ip address associated with it. Confirm that vboxnet0 has or does not have an ip by running ip addr show vboxnet0. If that command returns:

4: vboxnet0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 0a:00:27:00:00:00 brd ff:ff:ff:ff:ff:ff

Then you will need to set the ip address manually by running:

sudo ip addr change dev vboxnet0 local 172.25.5.5

Try to connect again with ssh [email protected] If that is still not letting you login, try to use ssh -p 2222 [email protected] Given that works then add the following entry to your ~/.ssh/config file:

  Host 172.25.5.5
    User deploy
    HostName 172.25.5.5
    Port 2222
Clone this wiki locally