From 4cca6407c93092c56bb684221fa4dad5e0694a65 Mon Sep 17 00:00:00 2001 From: Marco Slater Date: Fri, 23 Mar 2018 17:37:02 +0000 Subject: [PATCH] Add Readme. --- README.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..cde6651 --- /dev/null +++ b/README.md @@ -0,0 +1,27 @@ +# ssh-chat docker + +Docker image of [ssh-chat](https://github.com/shazow/ssh-chat) by [shazow](https://github.com/shazow). + +# Usage + +Generate keys outside of Docker to keep persistence, and not get warnings: + +``` +$ ssh-keygen -t rsa -b 4096 -N '' -f ./ssh-chat-key +``` + +Run the docker image: + +``` +$ docker run -p 2022:2022 -v /ssh-chat-key:/ssh_key marcoslater/ssh-chat:latest +``` + +You may supply additional arguments to the image, example: + +``` +$ docker run -p 22:22 -v /ssh-chat-key:/ssh_key marcoslater/ssh-chat:latest --bind ":22" +``` + +# Development + +Improvements and ideas can be found on the projects issues section.