this post was submitted on 25 Feb 2026
7 points (81.8% liked)

Selfhosted

56932 readers
1029 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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

  7. No low-effort posts. This is subjective and will largely be determined by the community member reports.

Resources:

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

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

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.

top 19 comments
sorted by: hot top controversial new old
[–] surewhynotlem@lemmy.world 2 points 3 hours ago

If you can never remember the command, and that's the real issue, just put the command in a script and run the script. Name the script. Something easy like, home assistant restart.

[–] GentleWay@lemmy.world 2 points 7 hours ago (1 children)
[–] irmadlad@lemmy.world 1 points 5 hours ago

Forgot all about OliveTin.

[–] frongt@lemmy.zip 2 points 8 hours ago

What platform has a browser but not an ssh client? I use juicessh on android. I'd bet even the Nintendo DS has a homebrew ssh client.

[–] Vinny_93@lemmy.world 5 points 10 hours ago (1 children)
[–] flork@lemy.lol 1 points 7 hours ago (1 children)

you can restart VMs from portainer?

[–] candyman337@piefed.ca 1 points 4 hours ago (1 children)

Yes, It's what's called a hypervisor, it is an operating system designed to manage vms, it can do a lot

[–] thenextguy@lemmy.world 2 points 4 hours ago

Since when is portainer a hypervisor? It’s a container manager, isn’t it?

[–] kylian0087@lemmy.dbzer0.com 2 points 8 hours ago* (last edited 8 hours ago) (1 children)

We need some more info. What is the server? A dedicated hypervisor? Just a Linux box that Also runs a VM?. If so what software you use to run the VM and containers?

Like I use XCP-NG on one of my servers. It is a level 1 hypervisor which you can manage with a webui.

[–] flork@lemy.lol 1 points 7 hours ago

Debain and VirtualBox

[–] irmadlad@lemmy.world 2 points 9 hours ago (1 children)

Are you asking if you can restart containers remotely, say from your phone? If so there are several apps that can do that. I use Yomo for docker and Portainer.

[–] flork@lemy.lol 2 points 7 hours ago (1 children)

Not quite, I want to restart a VM using a container.

[–] irmadlad@lemmy.world 1 points 7 hours ago

Hmmmm...I'm fresh out of ideas except maybe Ansible or Terraform automation but that's outside my wheelhouse.

[–] gaylord_fartmaster@lemmy.world 1 points 10 hours ago (1 children)

What is your home server running and what kind of VM is it?

[–] flork@lemy.lol 1 points 7 hours ago

Debian and VirtualBox

[–] phanto@lemmy.ca 1 points 10 hours ago (1 children)

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 7 hours ago (2 children)

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

[–] SnachBarr@lemmy.zip 1 points 5 hours ago

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

[–] phanto@lemmy.ca 1 points 7 hours 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.