An open API service indexing awesome lists of open source software.

https://github.com/bergercookie/docker-ubuntu-sshd

Create a simple SSH Server on Ubuntu for Docker
https://github.com/bergercookie/docker-ubuntu-sshd

Last synced: 3 months ago
JSON representation

Create a simple SSH Server on Ubuntu for Docker

Awesome Lists containing this project

README

          

# Simple SSH Server over Ubuntu 🛳️ ⛅

This Dockerfile can spawn an SSH server inside Ubuntu (ubuntu20.04 by default).

Use it as follows:

```sh
docker build -t ubuntu-sshd . --build-arg PASSWORD=
...

docker run --net=host -t --rm ubuntu-sshd:latest
```

Then to connect to it (if you've launched it locally), `ssh localhost -p 2022`