13
submitted 4 months ago* (last edited 4 months ago) by flork@lemy.lol to c/selfhosted@lemmy.world

I run Home Assistant in a virtual machine on my home server. Sometimes I need to restart it and I'm not always in a position to SSH or VNC in and I can never remember the command so I have to look it up every time. Is there anything out there that would allow me to do this quickly?

EDIT: The VM is in virtualbox.

you are viewing a single comment's thread
view the rest of the comments
[-] phanto@lemmy.ca 1 points 4 months ago

I Tailscale in to my home network, and then from one of the machines I'm the network, I can ssh in (or whatever.)

[-] flork@lemy.lol 1 points 4 months ago

That's what I do now, just looking for something where I don't have to lookup the command and type it in with my phone

[-] phanto@lemmy.ca 1 points 4 months ago

Ahh, I see. Someone else mentioned portainer, that has a lot of "click to do bleh" functions. Might be what the doctor ordered. You could also put the command in a bash script, like restart.sh and then it'll show up with an ls.

[-] SnachBarr@lemmy.zip 1 points 4 months ago

Set an alias in shell for the complicated command, then just ssh and type the alias that is easier to remember.

this post was submitted on 25 Feb 2026
13 points (100.0% liked)

Selfhosted

60789 readers
223 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS