The script (starting with #!/bin/bash) would need to be saved in a file, say /tmp/fix-adsbx.sh, and executed as root, with sudo bash /tmp/fix-adsbx.sh
Or just copy/paste this one-liner into your ssh session:
curl -sSL https://gist.githubusercontent.com/dseven/a9a9be3c094f575f11ea48783fd41474/raw/adsbx-mlat-py312.sh | sudo bash