SSH is a GUI framework

(zydra.sh)

32 points | by teledream 4 days ago

8 comments

  • orbital-decay 0 minutes ago
    Terminal giving you a janky and limited remotely accessible canvas doesn't imply that "SSH is a GUI framework".

    A lot better solution would be designing a compact, semantic, styling-independent remote access protocol that doesn't transfer bitmaps unless absolutely unavoidable (unlike most currently available protocols), and compresses them well when it does. That would make any GUI efficiently usable remotely without extra web bloat.

  • nico 13 minutes ago
    I remember my college used to serve some student services app via Telnet

    You would just telnet into a machine using your student login/pass, and it would run either a welcoming screen or a specific app (like one for scheduling classes)

    It was a very mature application and worked really well. Alas, it was quickly replaced by web versions of the apps, which took another flew years to get properly working

    Anyway, glad to see an example of what’s possible (and almost forgotten), in terms of providing access to applications online via the terminal (and without a browser)

  • Sha1rholder 3 minutes ago
  • rvz 4 minutes ago
    I don't think this makes any sense, as ssh isn't suited for this use-case.

    It also doesn't make much sense to bring all the security problems that exists in web browsers into a terminal delivered via SSH because you want to render special escape codes such as kitty or even sixel that make it possible to achieve remote code execution in someone's terminal. [0]

    Absolutely no thanks.

    [0] https://ii4gsp.github.io/iterm2-rce/

  • st_goliath 13 minutes ago
    > SSH is a GUI framework

    By that logic, TLS is a web browser.

    I was originally going to quip that by the articles logic, VNC should be a GUI framework too, but it is actually mentioned in the article. However, the text under the headline goes weirdly off the rails talking about webkit, WASM and WebGPU.

  • daylily 5 minutes ago
    Really doesn't seem like it would have great accessibility, but I suppose that ship has sailed with the proliferation of TUIs.
  • alex7o 20 minutes ago
    I thought that this would be about x11 forwarding but this is also pretty cool
    • teledream 6 minutes ago
      Thanks :)

      I do really like x11 forwarding, but unless you're on Linux, you'd need to download an X server, so I thought this would be interesting as something anyone could try from almost any machine.

  • qurren 20 minutes ago
    eeh using sixel or other sub-character graphics to render a GUI isn't really a feature of ssh. It's just a terminal feature, you could do it with telnet.

    also related: i created a tool to show ROS topics over a terminal, intended for people debugging robots over ssh: https://github.com/dheera/rosshow

    For better compatibility I used Braille characters to render a 2x4 grid per character, not sixel.

    • teledream 11 minutes ago
      Braille is really interesting as something more universal. Cool project.

      It's true, SSH is just the tool of choice to move bytes around, and it's up to your terminal emulator and the server to decide what those bytes mean. In practice, SSH gives you encryption, key auth, and a way past restrictive firewalls (we listen on port 443 for this exact reason).