Live data from Hacker News

Show HN: Running server scripts from smartphone via SSH

c100k.eu

1–4 of 4 posts

Show HN: Running server scripts from smartphone via SSH

#1
I've added Remote Runbooks to RebootX, a mobile app for managing cloud and on-prem infrastructure, available on iOS and Android (freemium).

The idea is simple: when PagerDuty wakes you up, many incidents boil down to executing the same sequence of SSH commands or operational steps. Instead of opening a laptop, you can execute a predefined runbook directly from your phone.

Very usefyl when you're on the go.

The scripts are retrieved from the server at `/usr/local/sbin/rebootx/runbooks`, also via SSH. If a script is prefixed with `__` (2 underscores), it's considered dangerous and the app warns you about it and ask for confirmation before executing it.

Some will argue that with the perfect infra, you don't have to do all of this. By experience, none of us have the perfect infra so SSH-ing into the server (e.g VPS) is often required.

Happy to hear about your feedback or ideas of improvement.

Show HN: Running server scripts from smartphone via SSH
c100k.eu

Re: Show HN: Running server scripts from smartphone via SSH

#3

Does this need a special agent on my server?

No, nothing to install on your server. Everything is done via SSH from your phone and the server, there is nothing in-between. When you first SSH into the server, the key is stored in your keychain and reused for these operations. This way, you don't have to enter it everytime, but it's still safely stored.

Re: Show HN: Running server scripts from smartphone via SSH

#4
> The idea is simple: when PagerDuty wakes you up, many incidents boil down to executing the same sequence of SSH commands or operational steps. Instead of opening a laptop, you can execute a predefined runbook directly from your phone.

Why don't you automate those steps completely then? Then you don't have to click anything, need this app, or even wake up :/