Sign inSign up

milobahg/sshd

By milobahg

•Updated over 8 years ago

A simple SSH server that can be run using a persistant Docker data volume.

Image
0

245

milobahg/sshd repository overview

A simple SSH server that can be run using a persistant Docker data volume. The server only allows public-key auth, add your key in the Dockerfile entry and connect using the 'sftpuser'.

To run:

docker run --rm -d --name sshd -v sftpdata:/home/sftpuser -p 2222:22 milobahg/sshd

All sftpuser data will then be put into a Docker volume on your host called: /var/lib/docker/volumes/sftpdata/_data

Tag summary

Content type

Image

Digest

Size

86.7 MB

Last updated

over 8 years ago

docker pull milobahg/sshd