You can use fly proxy command to setup a SSH proxy to a running Fly.io instance.
fly proxy
In the screenshot below, I used the connection to download the tohray database (a sqlite file) to my local machine for development.