From dbc2d02150b40af011efd7c0b64f7b20dbba7830 Mon Sep 17 00:00:00 2001 From: Hariprasath Ravichandran Date: Mon, 14 Aug 2023 07:12:25 +0530 Subject: [PATCH] Update README for more usages --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4fde951..aa8f6f6 100644 --- a/README.md +++ b/README.md @@ -51,9 +51,17 @@ Before you begin, ensure you have the following installed: ```bash docker build -t custom-ssh-server . - docker run -d -p 2222:22 -e SSH_USER= -e SSH_PASSWORD= -e SSH_PUBLIC_KEY=" | $(cat /ssh-keys/*.pub)" custom-ssh-server + docker run -d -p 2222:22 -e SSH_USER= -e SSH_PASSWORD= custom-ssh-server + + (or) + + docker run -d -p 2222:22 -e SSH_USER= -e SSH_PUBLIC_KEY=" || $(cat /ssh-keys/*.pub)" custom-ssh-server + + (or) + + docker run -d -p 2222:22 -e SSH_USER= -e SSH_PASSWORD= -e SSH_PUBLIC_KEY=" | $(cat /ssh-keys/*.pub)" custom-ssh-server ``` - Replace and with appropriate values. + Replace , and with appropriate values. ## Usage