Skip to main content

Module session

Module session 

Source
Expand description

SSH session management (FR-1 through FR-5, FR-9 through FR-17).

GitwaySession wraps a russh client::Handle and exposes the operations Gitway needs: connect, authenticate, exec, and close.

Host-key verification is performed inside [GitwayHandler::check_server_key] using the fingerprints collected by crate::hostkey.

Structsยง

GitwaySession
An active SSH session connected to a GitHub (or GHE) host.