Browse Source

nmap

master
zeus 4 years ago
parent
commit
45f5a389d9
  1. 13
      install/usr/share/swarmlab.io/sec/swarmlab-sec

13
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 ""

Loading…
Cancel
Save