Cannot scp to an SSH host using Cloudflare Tunnel

What is the name of the domain?

What is the error message?

cloudflare: unexpected origin message

What is the issue you’re encountering

When I try to scp to an SSH host using cloudflared I then the “unexpected origin message” error and the connection closes

What are the steps to reproduce the issue?

Just try to run scp file host:~/.

Running cloudflared version 2025.4.0 (built 2025-04-02-1524 UTC) on the host server. SSH works as expected.