SSH-Snake
SSH-Snake copied to clipboard
Syntax error
bash ./Snake.nocomments.sh
bash: line 449: conditional binary operator expected
bash: line 449: syntax error near 'current_ips["$ignored_host"]'' bash: line 449: [[ -v 'current_ips["$ignored_host"]' || ${#current_ips["$ignored_host"]} -gt 0 ]] && fin'
What version of bash are you using?
Have you made any modifications to the script at all?
version problem,use if ... to replace -v ...,and it does not work on bash 3.X
The script only supports bash4 sorry