From 39de1ab23e76412fb37ee25fda75177933b8feb5 Mon Sep 17 00:00:00 2001 From: Nils <32552517+byReqz@users.noreply.github.com> Date: Thu, 17 Sep 2020 11:12:52 +0000 Subject: [PATCH] adding launch parameter for admin keys --- entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 26d8aa4..bf708de 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,9 +1,9 @@ #!/bin/bash if [ -f ssh_key ]; then - /ssh-chat -i /ssh_key $@ + /ssh-chat -i /ssh_key --admin=/admin_keys $@ else echo "SSH Key not found at /ssh_key. Generating..." ssh-keygen -t rsa -b 4096 -f /ssh_key -q -N '' - /ssh-chat -i /ssh_key $@ + /ssh-chat -i /ssh_key --admin /admin_keys $@ fi