Usefull scripts I found or I do

Alive: How to test a port on a remote host

  • Post author:
  • Post category:Scripting
  • Reading time:10 mins read

When creating a VM and opening a port doesn’t work, it's often necessary to perform multiple tedious manual checks (network, firewall, fail2ban, etc.). Netcat (nc) greatly simplifies this process by allowing you to test the accessibility of a port on a remote host. I’m offering a bash script called "Alive" that automates these tests in a loop, with immediate visual feedback on the connection status. This script is useful for monitoring ports during service installations, reboots, and more.

Continue ReadingAlive: How to test a port on a remote host