Live data from Hacker News

Show HN: Manage on-prem servers from my smartphone

github.com

21–30 of 37 posts

Re: Show HN: Manage on-prem servers from my smartphone

#21
post #12

> on-premise I think the correct term here would be "on-premises". A premise and a premises are not related concepts except in the sense that the "premise" of this comment is to let you know that "premises" is the correct term to use. I'll also accept "on-prem" because it could reasonably be a shortened form of "on-premises" (even though most people probably don't realize this and are instead reinforcing their miscon…

[deleted]

Re: Show HN: Manage on-prem servers from my smartphone

#22
post #3

I think it's very complicated and I'm not sure what it does, or why it has a go http server and calls itself a specification. But it's clear that your goal is to reboot on-prem servers through your phone. Something I've wanted to do with rundeck and a very simple web app that uses the rundeck API.

[deleted]

Re: Show HN: Manage on-prem servers from my smartphone

#23
post #7

I'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.

I mean IMHO RDP has too many vulnerabilities too often to have it exposed to any network your phone also can promiscuously join. I would far rather expose a simple HTTP API for limited actions I consider safe.

Re: Show HN: Manage on-prem servers from my smartphone

#24
post #3

I think it's very complicated and I'm not sure what it does, or why it has a go http server and calls itself a specification. But it's clear that your goal is to reboot on-prem servers through your phone. Something I've wanted to do with rundeck and a very simple web app that uses the rundeck API.

surely it's easier to send SSH commands over SMS (with the appropriate protections) than use this janky Go thing?

There is probably no amount of protections which are appropriate for using SMS to send commands to a server. It's not only unencrypted the entire trip but SIM-jacking and caller ID spoofing are all very well-worn exploit paths.

I can email my house, which is at least encrypted in transit, and then I stack an extra couple nonstandard abuses of email headers to validate the source, which all is impossible with SMS.

Re: Show HN: Manage on-prem servers from my smartphone

#25
post #5
post #3

I think it's very complicated and I'm not sure what it does, or why it has a go http server and calls itself a specification. But it's clear that your goal is to reboot on-prem servers through your phone. Something I've wanted to do with rundeck and a very simple web app that uses the rundeck API.

How happy are you with that setup? Would you use it for anything more complicated, like app deployments or maintenance tasks on your on prem / vpss? I'm using ansible right now, and a custom playbook.sh script for some sort of auditing - what was run where and by whom. Kinda works but much more maintenable than let's say ansible tower.

I haven't done it yet, just been fantasizing about it.

Should be very possible though, Rundeck has Ansible integration and with Ansible playbooks you do anything.

So all your custom website has to do is provide buttons for those pre-defined Ansible playbooks in rundeck.

Re: Show HN: Manage on-prem servers from my smartphone

#26

After one of my AWS accounts (with 2fa and an email I basically never used) was compromised I'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?

Ouch, I'm sorry to hear that.

What do you mean by "traulling open ssh ports" ?

Re: Show HN: Manage on-prem servers from my smartphone

#27

After one of my AWS accounts (with 2fa and an email I basically never used) was compromised I'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?

You could put it behind a Wireguard VPN. That way you aren't exposing SSH or the like directly on the internet. Properly-configured SSH with public key authentication is not something I worry about though.

Re: Show HN: Manage on-prem servers from my smartphone

#28
post #7

I'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.

I mean IMHO RDP has too many vulnerabilities too often to have it exposed to any network your phone also can promiscuously join. I would far rather expose a simple HTTP API for limited actions I consider safe.

What about something with something like TailScale?

Re: Show HN: Manage on-prem servers from my smartphone

#29
post #26

After one of my AWS accounts (with 2fa and an email I basically never used) was compromised I'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?

Ouch, I'm sorry to hear that. What do you mean by "traulling open ssh ports" ?

I think they likely meant "trawling": https://en.m.wikipedia.org/wiki/Trawling. (ie casting a net and "fishing" for open ssh)

Re: Show HN: Manage on-prem servers from my smartphone

#30

Earlier quoted context omitted.

I mean IMHO RDP has too many vulnerabilities too often to have it exposed to any network your phone also can promiscuously join. I would far rather expose a simple HTTP API for limited actions I consider safe.

What about something with something like TailScale?

Behind a VPN is fine, at least for personal use. At work, phones are never able to get on the same network as our servers though, and considering the random nature of apps people often install, my recommendation would be that they should not.
Post reply on HN