Remix.run Logo
Show HN: Running server scripts from smartphone via SSH(c100k.eu)
4 points by pmdfgy 15 hours ago | 3 comments

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.

KomoD 8 hours ago | parent | next [-]

> 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 :/

Lord_Zero 12 hours ago | parent | prev [-]

Does this need a special agent on my server?

pmdfgy 11 hours ago | parent [-]

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.