TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Manage on-prem servers from my smartphone

73 pointsby pmdfgyabout 1 year ago
Hi everyone,<p>I&#x27;ve just released the public repository of RebootX On-Prem (<a href="https:&#x2F;&#x2F;github.com&#x2F;c100k&#x2F;rebootx-on-prem">https:&#x2F;&#x2F;github.com&#x2F;c100k&#x2F;rebootx-on-prem</a>), letting anyone to connect and manage their infra on their smartphone.<p>In my case the infra is pretty simple : 3 Raspberry Pi. But I&#x27;d love to have your feedback and see interesting use cases you could use this for.<p>I have lots of ideas for the next steps. For example, creating a Prometheus integration as well.<p>Looking forward to hearing from you and I would be glad to help if you encounter any issue getting started with the repo.

9 comments

chatmastaabout 1 year ago
If you&#x27;re on iOS, you can create a Shortcut that runs a script over SSH. I&#x27;m not sure if it&#x27;s one of the native actions, or provided by an app called &quot;Actions&quot; which you can download from the App Store and which defines a bunch of useful actions.
评论 #39853105 未加载
leptonsabout 1 year ago
I&#x27;ve been managing remote (and local) servers from my smartphone with RDP and SSH for almost 2 decades, not sure why I would use anything else.
评论 #39844111 未加载
评论 #39847612 未加载
moondevabout 1 year ago
An underrated advantage of ChromeOS is easily running mobile apps that expose intuitive UI like this. Combined with the floating window mode I have enjoyed using bambu handy for 3d printing and vSphere mobile.
nickpsecurityabout 1 year ago
If you use Python, you can restart the computer in one line using subprocess. Example:<p><a href="https:&#x2F;&#x2F;www.tutorialspoint.com&#x2F;python-script-to-restart-computer" rel="nofollow">https:&#x2F;&#x2F;www.tutorialspoint.com&#x2F;python-script-to-restart-comp...</a><p>You can also use two scripts for security:<p>1. One that’s privileged for the shutdown command.<p>2. One with no privileges to accept the network request (eg Flask&#x2F;REST), safely parse it, and send a message to process 1.<p>You could send the message in many ways. It doesn’t even have to be parsed or contain more than one byte. The reboot process might act if it receives <i>any</i> message from the other process in their dedicated channel.<p>Set both of these processes to run on startup however you normally do on your system.<p>If not a message, you could have the network enabled process write to a file in a shared directory. The reboot process periodically checks for the file’s existence. If it sees it, then it reboots the system. That file can be cleared on startup. I say on startup to reduce the risk of any kind of contention causing a problem later on.<p>The reboot process could also be easily ported to a systems language for resource efficiency. I’d keep the network-facing app in a memory-safe language just in case. D or Rust could handle both, though.
评论 #39844968 未加载
elintknowerabout 1 year ago
After one of my AWS accounts (with 2fa and an email I basically never used) was compromised I&#x27;m incredibly careful to expose services like this onto the public internet. What steps did you take to ensure the pipeline of your app to server endpoints was secure and in theory not vulnerable to someone traulling open ssh ports etc?
评论 #39849527 未加载
评论 #39849002 未加载
doublerabbitabout 1 year ago
Does it have FreeBSD support and any instructions for not using it with docker?
评论 #39845057 未加载
jokethrowawayabout 1 year ago
neat but ssh from your phone is hard to beat<p>Sharing my current use case in case it&#x27;s useful:<p>reboot PARTITION: to reboot to a different partition<p>systemctl stopping a service and starting another<p>launching a wget checking if wget is still up and hasn&#x27;t crashed
评论 #39845067 未加载
branonabout 1 year ago
&gt; on-premise<p>I think the correct term here would be &quot;on-premises&quot;.<p>A premise and a premises are not related concepts except in the sense that the &quot;premise&quot; of this comment is to let you know that &quot;premises&quot; is the correct term to use.<p>I&#x27;ll also accept &quot;on-prem&quot; because it could reasonably be a shortened form of &quot;on-premises&quot; (even though most people probably don&#x27;t realize this and are instead reinforcing their misconception when they use it).
评论 #39844919 未加载
评论 #39847417 未加载
INTPenisabout 1 year ago
I think it&#x27;s very complicated and I&#x27;m not sure what it does, or why it has a go http server and calls itself a specification.<p>But it&#x27;s clear that your goal is to reboot on-prem servers through your phone. Something I&#x27;ve wanted to do with rundeck and a very simple web app that uses the rundeck API.
评论 #39845093 未加载
评论 #39843170 未加载
评论 #39844868 未加载
评论 #39843928 未加载
评论 #39847420 未加载