Urgent.News

What's breaking now, across hundreds of outlets.

Tech

SSH is a GUI framework

SSH, or Secure Shell, is a widely used protocol that enables secure remote access to computers and servers. It is a versatile tool that has evolved to support a range of features beyond its original purpose of secure command-line access. One of the key aspects of SSH is its ability to transmit data as a byte stream over an encrypted connection, allowing for the display of graphical interfaces across various platforms.

Over the years, several terminal protocols have built upon SSH to enhance its functionality. These protocols have added features such as clipboard sharing, notifications, mouse support, and more, making it possible to create a rich user experience even in a text-based environment. A notable example is the Kitty Graphics Protocol, which allows for the transmission of graphical content compressed and with client-side graphical state.

This protocol supports animations and other graphical elements directly within the terminal, providing a more immersive experience.

SSH also supports various notification protocols, enabling users to receive graphical notifications complete with images, text, and bodies. The protocol also allows for compositing, which involves overlaying traditional text on carefully aligned graphics to optimize bandwidth usage. To further enhance efficiency, SSH uses techniques like streaming terminals as text rather than graphics, and sending only the changes between frames instead of the entire screen.

This approach reduces the amount of data that needs to be transmitted, making the experience faster and more responsive.

In addition to graphical capabilities, SSH also supports other terminal protocols like OSC 99 for rich notifications, OSC 777 for basic text notifications, and OSC 9 for simple title notifications. When these protocols are not supported by certain terminals, SSH gracefully falls back to older graphics protocols like Sixel and iTerm2, or even pure text streaming. This ensures that users can still access graphical content even on devices with limited support for modern protocols.

SSH's versatility is further demonstrated by its ability to integrate with other tools and technologies. For instance, the browser can be built using WebKit, which delivers frames to the compositor as DMA-BUFs, allowing for efficient rendering without the need for back-and-forth readbacks. This integration enables a seamless experience across different platforms and devices, from laptops and servers to mobile devices.

Despite its many strengths, SSH does have some limitations. For example, audio support is currently limited, and while the Kitty graphics protocol greatly improves the user experience, there is still room for optimization due to a lack of stronger client-side state and streaming protocols. However, the SSH-native compositing system and microVM desktop environment designed around it aim to create a more pleasurable and efficient user experience, effectively turning a cloud computer into a frictionless, agent sandbox.

Rewritten by urgent.news; may contain errors — check the original.

Source: zydra.sh

Read the original at zydra.sh →

Report a problem with this story

More in Tech

1Password’s Backend Systems Were Compromised, Revealing Only Customer Account Metadata

1Password: An attacker gained access to some of our backend systems and copied a limited amount of customer account information from a subset of our customers, including the names and email addresses…

  • 1Password's backend systems were compromised by an attacker.
  • Attackers accessed customer account metadata, not vault data.
  • 1Password implemented security measures and rotated internal credentials.

More from Wednesday 25 November →