January 12, 20197 yr my goal is to press a shortcut on my phone screen and run a script on my unraid server.i found this app in the playstore called turmax with a plugin called widget that allows you to run scripts from your phone home screen. The only thing that i have left to do is write the script that will ssh to my server and run the command to execute the script on my server.In order to ssh i installed sshpass on turmux and i wrote this script but i doesnt work #!/data/data/com.turmux/files/usr/bin/bashsshpass -p 'my password' ssh -o StrictHostKeyChecking=no [email protected] "/mnt/user/data/scripts/dockerrestart.sh;" Sent from my POCOPHONE F1 using Tapatalk
January 13, 20197 yr Author Maybe pretty obvious question, but just in case. Is your phone on the same LAN?Yea and when it isn't I have open vpn set upSent from my POCOPHONE F1 using Tapatalk
January 14, 20197 yr I’d talk to the Dev who made the ControlR Plugin and app. Sorry I’m on my phone and on the move otherwise I’d point you a bit better. https://forums.unraid.net/topic/47914-controlr-androidios-app-for-unraid/
January 23, 20197 yr Author i managed to get sshpass working only if i write the command in terminal i put it in a script like this and it doesn't work
Archived
This topic is now archived and is closed to further replies.