Sia-UI icon indicating copy to clipboard operation
Sia-UI copied to clipboard

Allow usage of remote siad

Open Polve opened this issue 7 years ago • 2 comments

I would like to be able to run the UI on my pc, while leaving the siad running on a remote host, is it possible?

Polve avatar Apr 30 '17 17:04 Polve

Hi,

Yes it is possible, for now it is not intended use so it will require some hacks.

You need to go in the Sia-UI files and seek for siad executable, back this one up then as an example, on a Linux host, replace it with a shell script and set this one as executable (chmod +x siad), siad being the shell script.

#!/bin/sh sleep infinity

Then we must open a tunnel for Sia-UI to be able to connect to the remote siad. For example, you can use ssh, in a terminal type:

ssh -L 9980:localhost:9980 user@host

user and host being filled with your server details.

Now you can start Sia-UI, it will start the shell script believing it is siad, and it will connect to the ssh tunnel being able to interact with your remote siad. Note that the shell script must stay running as Sia-UI has a watchdog on it.

Regards

lle-bout avatar May 07 '17 07:05 lle-bout

Can I formally REQUEST this as a feature? I just finished installing Sia in a jail on my FreeNAS host. If I can't have the daemon running there (always) and run a UI from my desktop (occasionally) then I probably won't run it.... which would be a shame, since I've got 3k+ Sia right now waiting to fund a node. Having read several posts by others about running this in a jail on my way here I know for certain that I am not the only one who intends such a use. (Running the daemon on a NAS seems rather like the IDEAL use case).

teotikalki avatar Jul 15 '18 15:07 teotikalki