I have a server that I would like to copy some files to, but I can only access that server via tailscale and only my Windows machine address is registered with that VPN, not my WSL distribution on the machine. So, I cannot directly ssh (or run rsync) from WSL to the server. I can ssh from the Windows machine and I can connect to it (and to the WSL distribution) using vscode (although the file I want to copy is in my WSL home directory not the git repo I normally access on that distribution).
So, I am kind of at a loss as to how to copy the file (it's a tgz file (gzipped tar file), if that makes a difference). It seems there should be a simple way to do it, but it escapes me what it is.