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.
See what Maximilian Rottenkolber made using this app! 🙂
15 comments
Skip to comment form
not resolve host name. with ip ok, but host no. There is a problem. Can you resolve it? THX
Hi ivano, Just checked it. No problem with resolving. Using version 1.23. Greets David
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
Hi Fun_key,
Can you try the following.
http://aubreykloppers.wordpress.com/2014/11/05/ssh-algorithm-negotiation-failed-real-fix/
Greets,
David
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
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?
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
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?
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.
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
You are welcome! You can edit or delete a button by long pressing it.
David
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
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
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?
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