ssh user@remote_server 'curl -fsSL https://example.com | bash'
ssh user@remote_server 'set -o pipefail; curl -fsSL https://example.com | bash'

ssh -fN -D 8080 user@remote_server
curl --socks5-hostname localhost:8080 http://internal-site.local

curl -X POST http://remote_server:5000/run-script