ubuntu how to check if port 22 is open code example
Example 1: linux see used ports
netstat -tulpn
Example 2: check what ports are open linux
## if you use linux
sudo ss -tulw
netstat -tulpn
## if you use linux
sudo ss -tulw