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
- Host: GitHub
- URL: https://github.com/bergercookie/docker-ubuntu-sshd
- Owner: bergercookie
- License: mit
- Created: 2022-03-30T19:11:54.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-30T19:12:08.000Z (about 4 years ago)
- Last Synced: 2025-08-16T23:30:06.129Z (10 months ago)
- Language: Dockerfile
- Size: 5.86 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`