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.

  • phanto@lemmy.ca
    link
    fedilink
    English
    arrow-up
    1
    ·
    5 hours 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.)

    • Jediwan@lemy.lolOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 hours 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

      • SnachBarr@lemmy.zip
        link
        fedilink
        English
        arrow-up
        1
        ·
        54 minutes 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
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 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.