SSH to the router as in this guide: SSH to the router - GL.iNet Docs

Then you will have the black window.

If you have not installed mc, install it now

opkg update
opkg install mc

You need to type mc in that window.