This restriction is intentional. The design is supposed to prevent misuse by only allowing "local" access to the license, which includes viewing it. "local" means console (text-based or graphical).
You can get around this restriction when connected via ssh by running "sudo tmux". This puts you in a tmux session as root. You must use sudo even if you are already logged in as root.