Skip to content

mlgupta/ssh-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ssh-docker

An SSH server Docker image created to demo Keyper, Keys and Certificate based authentication system. Demo for this image is running as mavrix2.dbsentry.com, mavrix3.dbsentry.com, mavrix4.dbsentry.com, and mavrix5.dbsentry.com/ All logins to this image via SSH are protected using highly restricted lshell. Logged in users are restricted to run very few shell commands, and more than three unauthorized commands kicks out the user.

Other then Keyper Demo, and learning about Docker tooling, this image does not have much use.

Installation/Build

Follow the steps to build docker image using source code:

  1. Clone this git repository
$ git clone https://github.com/dbsentry/ssh-docker.git
  1. By default Makefile creates image as dbsentry/sshfp. To change, modify Makefile
  2. Change .release to reflect correct tag on docker image
  3. Run build
$ docker build -t sshd . -f Dockerfile

The generated image when run would start a docker container with all the services.

Run

You can use either docker or podman to run this container.

$ docker run --hostname mavrix2 -p2022:22 -d -it localhost/sshd
$ podman run --hostname mavrix2 -p2022:22 -d -it localhost/sshd

License

All assets and code are under the GNU GPL LICENSE and in the public domain unless specified otherwise.

Some files were sourced from other open source projects and are under their terms and license.

About

SSH Docker Image for Keyper Demo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published