Work in the office and demonstrate that you are competent and can work autonomously. Then ask if you canwork remote. This worked for me.
I'm preparing a talk for the KC Developers Conference "The Two Question Code Quiz" on how to run an effective technical interview. Please reach out to me, https://github.com/scottconnerly, I'd love to bounce my ideas off you.