Today I Learned (April 18, 2024)

How to enable remote development with SSH on a Dev Container

Tl;dr: Start an OpenSSH (or similar) service in your Dev Container and forward the port to enable SSH remote development.

:link: Please take a look at the following repository for more information and source code: github.com/fkurz/devcontainer-ssh.