SSH button for android

Today i deployed a new android application called SSH button.

With the SSH button application you can send ssh commands to linux hosts via a button on your android device.
Simply create a new button and add the command you want to sent to the linux device.

You can specify per button:
– Label ( e.g. reboot raspberry or start application )
– Command to sent ( e.g. sudo reboot or sudo service httpd restart)
– ip adres or hostname
– username
– password
– ssh port

You can download this via the google play store.

Get it on Google Play

See what Maximilian Rottenkolber made using this app! 🙂

 

15 comments

Skip to comment form

  1. not resolve host name. with ip ok, but host no. There is a problem. Can you resolve it? THX

      • pd7l on 05/08/2014 at 18:09

      Hi ivano, Just checked it. No problem with resolving. Using version 1.23. Greets David

    • FuN_KeY on 15/11/2014 at 10:43

    I really like this app! Simple, fast & add free

    There is just one slight issue, it is unable to send commands to my OpenElec instance. It says “Algorithm negociation failed” (other SSH clients connects flawlessly)

    It would be great if you could have a look

      • pd7l on 15/11/2014 at 11:03

      Hi Fun_key,

      Can you try the following.
      http://aubreykloppers.wordpress.com/2014/11/05/ssh-algorithm-negotiation-failed-real-fix/

      Greets,
      David

    • FuN_KeY on 15/11/2014 at 23:48

    Thank you for your suggestion, but it is unfortunately impossible. The filesystem of OpenElec is read only; I would have to nearly recompile it to change this.

    Find here the content of the readonly file: http://www.filedropper.com/sshdconfig

    • Alex on 25/11/2014 at 02:54

    Great app! It saves you a ton of time and makes managing a server easy and painless.
    Congratulations and thank you for your work!
    I have a small issue tough. Whenever I try to use a button it says return code was not 0. I have made sure every command is accurate and with other ssh clients it works every time. Not even the simple commands don’t work. For example sudo reboot or sudo poweroff. Can you help me?

      • pd7l on 25/11/2014 at 19:43

      Hi Alex,

      Try this please:
      label: test1
      command: sudo ls
      ssh hostname: ip address of linux machine
      ssh user: an user that have sudo permissions
      ssh port: 22
      If you get the message: “Return code was not 0”
      change the command from “sudo ls” to “ls” ( without the quotes )
      If you het the message: “OK”. Then something is wrong with your sudoers file under linux.
      If you still have issues. Please sent me a direct email to info@pd7l.nl

      Greets,
      David

        • Alex on 26/11/2014 at 02:47

        You were right, it is the sudoers file. I have searched the Internet but no solution for my particular problem. How would you advise to proceed on my lubuntu machine?

    • utiac on 19/01/2015 at 21:06

    Openelec does not support multiple users – it has only one user who is root and the defualt password is openelec. I use ssh button on openelec version 4.2.1 without any problem. I have a button to send the command ‘systemctl restart xbmc’ on the relatively rare occasion that xbmc freezes. This allows the restart of xbmc without having to reboot the hardware and the underlying OS. Are you certain you have remote ssh via password enabled in your system options? Check system -> openelec -> services and make sure ssh via password has not been disabled, unless of course you have copied and properly set up an ssh key for the root account.

    • utiac on 19/01/2015 at 21:12

    Forgot to add my thanks to the author of this app, as it’s just what I was looking for. Big thumbs up. It would be nice to have functionality to modify or delete current buttons. Thanks

      • pd7l on 20/01/2015 at 19:39

      You are welcome! You can edit or delete a button by long pressing it.

      David

    • Honor on 07/06/2016 at 22:09

    I’m trying to use this to run either a bat file or vbscript on a windows 7 machine. It says the command OK after the button is pushed but the script is not run.

    Also is it possible to ask for an user input after pressing the button. There are some scripts that I would like to use this for that require the user to enter information

      • davidg on 19/06/2016 at 22:44
        Author

      Hi,

      What are you using on your Windows machine to make this a SSH server?

      It is not possible to ask for an user input after pressing the button.

      Greets,
      David

    • Mike on 18/09/2016 at 14:45

    Such a cool app. Saved my life a few times when I left my keys. ( garage opener).
    It would be fantastic to have this app on my android wear watch in future. Are you planing
    This in the near future?

      • davidg on 24/09/2016 at 16:13
        Author

      Hi Mike,

      Thanks!
      Haha! It will be very very nice feature to open your garage with your watch!!
      Will put this on the feature list.

      Greets,
      David

Comments have been disabled.