I just had to email me a file I got sent to my phone and I feel unable to accept this as the better solution.

What you do guys use for inter-device communication?

  • hirihit640@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 day ago

    Most people probably don’t care but it can be a security risk, allowing malware to move “laterally” between all your devices. For my main devices I don’t give them SSH access to each other, but I do give them SSH access to my secondary devices (like a Pi-Hole)

    • darklamer@feddit.org
      link
      fedilink
      English
      arrow-up
      0
      ·
      23 hours ago

      […] it can be a security risk, allowing malware to move “laterally” between all your devices.

      Unless you do something incredibly stupid, such as allowing keyless login or sharing keys (or having unencrypted keys or keys without a passphrase, seriously), I find it hard to see how that would actually happen in practice.

      • hirihit640@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        0
        ·
        10 hours ago

        Even if you have a password for your ssh key, malware on your system can just wait until you enter the password.

        My point is that SSH access is very powerful, and effectively means that the security of the SSH server is reduced to the security of the SSH client. If your SSH client is pwned, so is your server. If you have 10 devices each with ssh access to each other, then if any one device is pwned, all devices are pwned as well.

        This is not the case for systems designed for file sharing only. For example with syncthing, if one device gets pwned, all it can do is send files to the other devices.