How to copy files off a VM

Instructions have become a lot simpler now that fly proxy exists.
No need to muck about with wireguard any more:

# In a separate terminal:
fly proxy 10022:22
# In the main terminal:
scp -P 10022 root@localhost:/remote_path/to_file local_path/to_file 
10 Likes