Setup workstation SSH config

Info

For this section, you are back to using your normal workstation user.

Append a new host config into your SSH config (~/.ssh/config):

Edit this file: ~/.ssh/config
Host debian-dev
    Hostname 192.168.122.2
    User root
    ControlMaster auto
    ControlPersist yes
    ControlPath /tmp/ssh-%u-%r@%h:%p
Info

Make sure Host and Hostname are set correctly for your VM.

With this config, you can now use SSH to control the VM:

[bash]: Run this on your workstation:
ssh debian-dev whoami
(stdout)
root

Install Docker

You’re now ready to use your VM as an install target for whatever you want. It is recommended to install Docker, which you can learn about in the volume Self-hosting Docker in the chapter called Setup your workstation.