Vagrant using Trellis on Windows 10 WSL2

Following up: OK so I’m past the SSH issue, somewhat.

I finally landed on SSH timeout on vagrant up with Windows 10 + WLS2 (virtualbox_WSL2 plugin installed) - #10 by dome and that worked.

The solution is to disabled Windows Defender Firewall protection for vEthernet (WSL) Domain, Private, and Public profiles.

I ran trellis up and it run the entire build process, it looks like.

As per docs, I’m told to run trellis ssh development to access the VM.

Still getting:

❯ trellis ssh development
Running command => ssh vagrant@mysite.test
Error running ssh: exit status 255

But I can ssh into vagrant:

❯ vagrant ssh
Welcome to Ubuntu 22.04.3 LTS (GNU/Linux 5.15.0-83-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  System information as of Mon Jan 15 10:10:18 PM UTC 2024

  System load:  0.02880859375      Processes:             146
  Usage of /:   15.7% of 30.34GB   Users logged in:       0
  Memory usage: 33%                IPv4 address for eth0: 10.0.2.15
  Swap usage:   2%                 IPv4 address for eth1: 192.168.56.5


This system is built by the Bento project by Chef Software
More information can be found at https://github.com/chef/bento

@cheezman, what an absolute trooper you are. Thanks very much for lending a hand, means a lot.