I currently have a jellyfin server on a rpi4 running raspbian (I think). I’m planning to migrate that to a Dell Wyse mini pc before I go on a month long trip. I would like to be able to ssh into it from outside my home and add movies and stuff. I have already setup ddns for the jellyfin server, so I only need for a way to add movies to it.

  • Lateralking@vlemmy.net
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    1 year ago

    Do not open port 22 to the work OP. That’s horrible advice.

    Set up a openvpn server and VPN to your home abc then SSH from inside the network

    • vegetaaaaaaa@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      1 year ago

      Do not open port 22 to the wor[ld]

      I often see this parroted but it’s not necessarily true. Properly configured and hardened SSH on an up-to-date system is, for all practical purposes, perfectly secure, even if it’s facing the Internet.

      I still only allow VPN inside my home network, but all my VPSs and dedicated servers (personal and work) have SSH facing the world. VPN is nice to have but not mandatory for this. Hardening SSH servers [1] must be done in all cases, even on “trusted” networks (there is no such thing as a fully trusted network).

      • Lateralking@vlemmy.net
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        Why would you even leave that vector for attack open if you didn’t need to?

        Seems unnecessary.

        • dpflug@hachyderm.io
          cake
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          @Lateralking
          A VPN is an attack vector, too, and as @vegetaaaaaaa said, it’s not like you can slouch on hardening ssh regardless of where it listens.

          It also adds complexity. One more thing to go wrong.

          Do what you like, of course. Your devices, your choice.
          @selfhosted