Skip to content

open access only once sshd answers on the host's forwarded port - #196

Merged
winterstacks merged 1 commit into
mainfrom
release/sshd-probe
Sep 4, 2026
Merged

winterstacks merged 1 commit into
mainfrom
release/sshd-probe

Conversation

@winterstacks

Copy link
Copy Markdown
Contributor

Vast reports a running instance with a forwarded port before anything listens on it. Three of four hosts today refused every SSH connection for the whole window while the renter paid for them.

The lifecycle worker now reads the SSH banner at the advertised address before start_access: the lease stays provisioning until a banner arrives, and a host that never produces one is refused inside the boot budget and replaced like any other refusal. Nothing is sent to the host; only the banner is read.

Tests: lifecycle-worker 57 (new: banner, silent listener, closed port).

vast reports a running instance with a forwarded port before anything
listens on it, and three of four hosts today refused every connection for
the whole window while the renter paid. the lifecycle worker now reads
the ssh banner before start_access, keeps the lease provisioning until it
hears one, and refuses the host inside the boot budget when it never does.

Signed-off-by: winterstacks <release@prismnetwork.tech>
@winterstacks
winterstacks requested a review from a team as a code owner September 4, 2026 16:49
@winterstacks
winterstacks merged commit daa1350 into main Sep 4, 2026
5 checks passed
@winterstacks
winterstacks deleted the release/sshd-probe branch September 4, 2026 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant