Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 1.41 KB

README.md

File metadata and controls

49 lines (34 loc) · 1.41 KB

Ubuntu-sshd

Dockerized SSH service, built on top of official Ubuntu images.

Image tags

  • rastasheep/ubuntu-sshd:12.04 (precise)
  • rastasheep/ubuntu-sshd:12.10 (quantal)
  • rastasheep/ubuntu-sshd:13.04 (raring)
  • rastasheep/ubuntu-sshd:13.10 (saucy)
  • rastasheep/ubuntu-sshd:14.04 (trusty)

Installed packages

Base:

Image specific:

Config:

  • PermitRootLogin yes
  • UsePAM no
  • exposed port 22
  • default command: /usr/sbin/sshd -D
  • root password: root

Run example

$ sudo docker run -d -P --name test_sshd rastasheep/ubuntu-sshd:14.04
$ sudo docker port test_sshd 22
  0.0.0.0:49154

$ ssh root@localhost -p 49154
# The password is `root`
root@test_sshd $

Issues

If you run into any problems with this image, please check (and potentially file new) issues on the rastasheep/ubuntu-sshd repo, which is the source for this image.