ssh command to server

General discussions about Automagic and automation in general

Moderator: Martin

Post Reply
opn6
Posts: 2
Joined: 17 Aug 2014 12:44

ssh command to server

Post by opn6 » 17 Aug 2014 12:50

Is there a way I can send a command to my local Linux server with ssh? Lets say when i connect to my wifi.

FYI. I use a app to send commands to the server called SSH Commander. I can make a shortcut to send the command. But i don't see a way to build to that shortcut with the launch shortcut action. Any workarounds ?

User avatar
Martin
Posts: 4437
Joined: 09 Nov 2012 14:23

Re: ssh command to server

Post by Martin » 17 Aug 2014 15:00

Hi,

You could install an ssh binary on your phone and use a regular action Execute Command to directly invoke the ssh command (Dropbear should work but I have not tested this myself).

Regards,
Martin

opn6
Posts: 2
Joined: 17 Aug 2014 12:44

Re: ssh command to server

Post by opn6 » 17 Aug 2014 18:05

I got it working with the ssh tasker plugin and the plugin action. works great so far. ;) thanks.

User avatar
Martin
Posts: 4437
Joined: 09 Nov 2012 14:23

Re: ssh command to server

Post by Martin » 18 Aug 2014 17:07

Great, I've completely forgot about the SSH Tasker plugin. Good to know that it works.

Post Reply