Skip to content

MaxenceG2M/docker-sshd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker SHH Container

This is a docker container allowing SSH connection.

To build:

sudo docker build -t mgdemontauzan/sshd .

Dockerfile describe image. Add an sshkey file to allow connection by private key (no password needed).

Scripts

  • launchDeamon.sh : start a container and connect to it, manage if a container is already running (proposes to reconnect, launch a new container, etc.)

  • stopDeamon.sh : stop a container.

Run on CentOS.

TODO

  • Separate methods in launchDeamon.sh in more little scripts
  • Documentation ! More comments !

About

A docker allow SSH connection

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages