How can I authorise / claim a Plex Server with only remote terminal access?

Server Version#:
Player Version#:

I’m using this Docker image: https://hub.docker.com/r/linuxserver/plex. The logs suggest claiming via environment variable is working. Logging in allows me to see the settings for my other server but this remote one isn’t listed. Trying to go straight to http://ip:32400/web/index.html#!/setup/[41-char identifier] says I’m not authorised. It sounds like I need to open the server url from the device itself. I’ve attempted to use terminal browsers, i.e. w3m and Lynx, but they don’t display the page.

Ports are fine.

SSH tunnel to the machine

e.g. ssh -l username -L 8888:127.0.0.1:32400 ip.addr.of.machine

When you sign in, let the SSH session sit idle.

Now return to the local browser.

Open http://127.0.0.1:8888/web

It will take you through the SSH tunnel and attach you to the system as if on the console (graphics head).

This will only work if the container is setup with --network host .
If it’s NAT or Bridge, you will still have that problem to contend with.

1 Like

Oh, right - good idea. That worked, cheers.

I had further issues related to DNS and another container for Pi-hole, etc, and ended up with the Plex container in bridge networking to eventually be able to claim it.

You could also use GitHub - ukdtom/ClaimIt: ClaimIt 4 Plex Media Server

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.