---
title: "Discussion on \"Finding ZMODEM in a Terminal Byte Stream: How `rz`/`sz` Works Inside an SSH Client\" | Hashnode"
description: "Discussion on \"Finding ZMODEM in a Terminal Byte Stream: How `rz`/`sz` Works Inside an SSH Client\". How rz/sz and ZMODEM work over SSH: frame headers, intent-gated detection, PTY takeover, untrusted names and cancel."
url: "https://hashnode.com/posts/finding-zmodem-in-a-terminal-byte-stream-how-rz-sz-works-inside-an-ssh-client/6ae5f6f07558dc40891c7c6e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Finding ZMODEM in a Terminal Byte Stream: How \`rz\`/\`sz\` Works Inside an SSH Client](https://mistlab.hashnode.dev/finding-zmodem-in-a-terminal-byte-stream-how-rz-sz-works-inside-an-ssh-client?utm_source=hashnode&utm_medium=feed)

How rz/sz and ZMODEM work over SSH: frame headers, intent-gated detection, PTY takeover, untrusted names and cancel.

Oct 31 · 9 min read · mistlab.hashnode.dev  
Read the article

-   [#terminal](https://hashnode.com/tag/terminal)
-   [#rust](https://hashnode.com/tag/rust)
-   [#ssh](https://hashnode.com/tag/ssh)
-   [#linux](https://hashnode.com/tag/linux)

## Written by

[c-wind](https://hashnode.com/@c-wind)

@c-wind

  
[View profile](https://hashnode.com/@c-wind)

Building developer tools around SSH and terminals. Rust, Linux, ops.

Building developer tools around SSH and terminals. Rust, Linux, ops.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
