Direct remote access

Hi all, I run just a couple of rigs but they’re remote and my main access is over the internet. I read someone mentioning that Hamachi could be setup, but that was all the information provided. I’m just wanting either shell access or at least a remote desktop access for occasionally configuring mining software. I’ve tried setting up realvnc server and teamviewer but both have issues with the stripped down operating system. Tried installing a version of hamachi for linux too, but similar problems. There’s a VNC link on the main miner management page but that doesn’t work for me at all, just gives me an error that the port number is invalid.