What might help someone who later come to this forum:
- OS of GL-iNet router is a custom image of OpenWRT, which is one of the Linux distributions
- OpenWRT is available to root by default and supports basic linux commands (ls, cd, cat, etc.)
- by default, ssh uses port 22 and accepts connections from all interfaces on the LAN side
- For anyone who wants to learn about OpenWRT, OpenWrt wiki is usually the best documentation