Using Sia-UI on a remote node

While the majority of users use Sia-UI on a local computer, there are a few instances where it is either not possible or more useful to run a Sia node on a remote server.

Sia-UI already has the functionality to automatically pick up a running siad instance if one was started manually. To get Sia-UI to pick up a remote instance, all you need to do is forward your local port 9980 to your remote server port 9980. For those comfortable with the command line you can use the following command.

ssh -f [email protected] -L 9980:localhost:9980 -N

-f Requests ssh to go to background just before command execution.

-L Specifies that the given port on the local (client) host is to be forwarded to the given host and port on the remote side.

-N Do not execute a remote command.

Now when you restart Sia-UI, it will pick up the remote instance of siad. All API calls that don't require authentication will work, however API calls that require authentication will fail as the UI will be using the wrong API password. A work around for this is to restart the remote siad instance with:

--authenticate-api=-false

Now all API calls will work and you can use the UI just like you would with a local siad instance.


How did we do?


Powered by HelpDocs

Powered by HelpDocs