From c606c513c7416014a5d0bf3b4884c228422c1a3a Mon Sep 17 00:00:00 2001 From: zeus Date: Thu, 3 Feb 2022 16:51:56 +0200 Subject: [PATCH] add console --- install/usr/share/swarmlab.io/sec/sec_bootstrap | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install/usr/share/swarmlab.io/sec/sec_bootstrap b/install/usr/share/swarmlab.io/sec/sec_bootstrap index d38b273..e090bcb 100755 --- a/install/usr/share/swarmlab.io/sec/sec_bootstrap +++ b/install/usr/share/swarmlab.io/sec/sec_bootstrap @@ -45,6 +45,7 @@ case $ROLE in # Auto update default host file in background and dumb all output auto_update_hosts "${HOSTNAMES}" > /dev/null 2>&1 & + ttyd -p 3787 bash # Start ssh server /usr/sbin/sshd -D @@ -53,6 +54,7 @@ case $ROLE in "worker") + ttyd -p 3787 bash # Start ssh server in background /usr/sbin/sshd -D &