Ubuntu image with SSH access. Useful for testing deployments, and do local development using same tools (like Ansible) as with any Ubuntu server.
Available from Docker Hub as yakshaveinc/docker-ubuntu-sshd.
user | password |
---|---|
root | root |
ubuntu | ubuntu |
20.04
,latest
Run image and expose it on port 2222 for local access only.
docker run --detach -p 127.0.0.1:2222:22 yakshaveinc/docker-ubuntu-sshd
Connect with SSH ignoring non-actual security warning.
ssh root@127.0.0.1 -p 2222 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null
# or ssh root@localhost -p 2222
# or ssh ubuntu@localhost -p 2222
- openssh-server
- python
- python-apt
- sudo
Contents on this repository are dedicated to . No rights reserved.
License for distributed Docker images follows one of Ubuntu Project.