I’m trying to use the Teltonika RMS rest api to access a RUT956 via CLI or SSH, butt the only links I’m getting is for web access.
The links are usable, but I can’t figure out how to capture command output using Selenium or Playwright, because everything is done inside a javescript xterm implementation. Login and issuing commands works.
Is it possible to get a ‘real’ SSH link or capture the output from the web based terminal?
Unfortunately, RMS API CLI access is not a direct SSH session. It proxies your commands through Teltonika’s RMS cloud backend, which in turn communicates with the router.
As an alternative solution for accessing the device via SSH, you can create an RMS VPN Hub, add both the device and your account as clients, and wait for them to establish tunnels with the hub. Once the tunnels are active, you’ll be able to access the RUT956 CLI directly via SSH using any standard SSH client.
You can refer to the example and detailed instructions on setting up the RMS VPN hub: