Installing GNU Screen on SecurityOnion
Running the command sudo soup
on your manager node gives you this warning:
WARNING: If you run soup via an SSH session and that SSH session terminates, then any processes running in that session would terminate. You should avoid leaving soup unattended especially if the machine you are SSHing from is configured to sleep after a period of time. You might also consider using something like screen or tmux so that if your SSH session terminates, the processes will continue running on the server.
You can install GNU Screen on your manager node using the command sudo dnf install screen
.
Here are three handy configuration files.
startup_message off caption splitonly "%3n %t | %H %l | %D %Y-%m-%d %0c" defdynamictitle off hardstatus alwayslastline '%{gk}[%{G}%H%{g}][%= %{wk}%?%-Lw%?%{=b kR}(%{W}%n*%f %t%?(%u)%?%{=b kR})%{= kw}%?%+Lw%?%?%= %{g}]%{=b C}[%Y-%m-%dT%0c]%{W}' screen -t 'Term 01' 1 screen -t 'Term 02' 2 screen -t 'Term 03' 3 screen -t 'Term 04' 4 screen -t 'Term 05' 5 screen -t 'Term 06' 6 screen -t 'Term 07' 7 screen -t 'Term 08' 8 screen -t 'Term 09' 9 select 1 # EOF
alias reattach='screen -rx || screen' # EOF
if [ "${0}" = "-bash" ]; then alias x=logout else alias x=exit fi # EOF