Sync script & SSH access with Lima

My solve was slightly different, possibly specific to something in my setup, but I ended up with the following

@development:
  ssh: $USER@lima-domain-com-au/srv/www/domain-com-au/current/

Note the dots in the domain are swapped for hyphens.

To figure that out I used the tip from @visualasparagus to check out limactl show-ssh --format=config domain.com.au which listed the host with hyphens.

$USER should mean it’s not specific to my local and the others can use the same code, taken from here.

1 Like