From 45f5a389d9232b5f7e1176a73b40a7dc86fe7ea1 Mon Sep 17 00:00:00 2001 From: zeus Date: Fri, 5 Mar 2021 00:04:57 +0200 Subject: [PATCH] nmap --- install/usr/share/swarmlab.io/sec/swarmlab-sec | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/install/usr/share/swarmlab.io/sec/swarmlab-sec b/install/usr/share/swarmlab.io/sec/swarmlab-sec index af9e357..e1a0689 100755 --- a/install/usr/share/swarmlab.io/sec/swarmlab-sec +++ b/install/usr/share/swarmlab.io/sec/swarmlab-sec @@ -615,22 +615,19 @@ show_instruction () echo '==============================================================' echo '' - echo "To run SEC programs in an interative shell:" + echo "To run docker programs in an interative shell:" echo " 1. Login to master node:" echo " Using Docker through command wrapper:" - echo " $ swarmlab-sec login" + echo " click Container->Actions" echo "" - echo " Or using SSH with keys through exposed port:" - echo " $ ssh -o \"StrictHostKeyChecking no\" -i ssh/id_rsa -p $SSH_PORT docker@localhost" - echo ' where [localhost] could be changed to the host IP of master node' echo "" echo " 2. Execute programs inside master node, for example:" - echo " $ sudo su" + echo " $ su -" echo " # apt update" echo " *----------------------------------------------------*" echo " | Default hostfile of connected nodes in the swarmlab |" - echo " | is automatically updated at /etc/opt/hosts |" - echo " | To obtain hostfile manually: $ get_hosts > hosts |" + echo " | is updated at /project/hosts |" + echo " | To obtain hostfile manually: /project/bin/swarmlab-nmap > /project/hosts |" echo " * ---------------------------------------------------*" echo "" echo ""