Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.32 KB

README.md

File metadata and controls

46 lines (31 loc) · 1.32 KB

docker-ubuntu-sshd

License

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.

Login information

user password
root root
ubuntu ubuntu

Image tags

  • 20.04, latest

Usage

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

Installed packages

  • openssh-server
  • python
  • python-apt
  • sudo

License

Contents on this repository are dedicated to CC0 public domain. No rights reserved.

License for distributed Docker images follows one of Ubuntu Project.