Want to transfer a file between two computers, but both are behind layers of bastion hosts?
If both can connect to the internet (Cloudflare edge servers), here is a solution that leverages free Cloudflare Tunnels.
The sender must have python3 and cloudflared installed. The receiver doesn't need anything.
Sender: