Sign inSign up

vicamo/sshd

By vicamo

Updated about 5 years ago

Dockerized Debian/Ubuntu SSH service

Image
0

2.9K

vicamo/sshd repository overview

sshd

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

Image tags

  • vicamo/sshd:precise
  • vicamo/sshd:trusty
  • vicamo/sshd:xenial
  • vicamo/sshd:bionic
  • vicamo/sshd:cosmic
  • vicamo/sshd:disco
  • vicamo/sshd:wheezy
  • vicamo/sshd:jessie
  • vicamo/sshd:stretch
  • vicamo/sshd:buster
  • vicamo/sshd:sid

Installed packages

Base:

Image specific:

Config:

  • exposed port 22
  • default command: /usr/sbin/sshd -D -e

Run example

$ sudo docker run --detach --publish-all --name sshd vicamo/sshd:trusty
$ sudo docker logs sshd
Server listening on 0.0.0.0 port 22.
Server listening on :: port 22.
$ sudo docker port sshd 22
  0.0.0.0:49154

$ sudo docker exec --interactive --tty sshd adduser vicamo
Adding user `vicamo' ...
Adding new group `vicamo' (1000) ...
Adding new user `vicamo' (1000) with group `vicamo' ...
Creating home directory `/home/vicamo' ...
Copying files from `/etc/skel' ...
New password:
Retype new password:
passwd: password updated successfully
Changing the user information for vicamo
Enter the new value, or press ENTER for the default
        Full Name []:
        Room Number []:
        Work Phone []:
        Home Phone []:
        Other []:
Is the information correct? [Y/n] y

$ ssh vicamo@localhost -p 49154
vicamo@localhost's password:
vicamo@682308528aa1:~$

Issues

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

Tag summary

Content type

Image

Digest

Size

48.8 MB

Last updated

about 5 years ago

docker pull vicamo/sshd:3.0-16.04