sshpass -p 'rasplex' ssh -v root@192.168.1.120 'sed -i -e s/OLDTOKEN/NEWTOKEN/g /storage/.plexht/userdata/guisettings.xml'
sshpass -p 'rasplex' ssh -v root@192.168.1.120 'sed -i -e "s/Signed in (OLDUSERNAME)/Signed in (NEWUSERNAME)/g" /storage/.plexht/userdata/guisettings.xml'
sshpass -p 'rasplex' ssh -v root@192.168.1.120 'reboot'
I have enabled 'Require authentication on local networks" on the local media server. Would be nice to restart services instead of reboot, but will work on that later.