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.
Please take a look at the following repository for more information and source code: github.com/fkurz/devcontainer-ssh.