Open ISQman opened 3 years ago
@ISQman,
Why not use something like what is mentioned in https://unix.stackexchange.com/questions/344903/how-to-force-user-in-ssh-config-file to override the user that is logged into on the destination rather than updating how the "$2" variable works. It looks to have broken other stuff.
JediNite
Hello, i tryed to install syncthing on my wd cloud os 5, but there is no user root on ssh and without editing your script it not possible to install. The best way what i found - to change TARGET="$2" to TARGET="sshd@$2" and BINARY=$(find packages/$PACKAGE -name "${MODEL}${PACKAGE}.bin" | sort | tail -n1), also after install - need to login to the device and restart service manually, after it works. Also here logs:
Server become reachable only after i restarted it from web gui.