You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bdfa840
Browse filesBrowse the repository at this point in the historyBrowse files
feat(cli): let users refuse unverified SSH host keys
OPENSHELL_SSH_REQUIRE_HOST_KEY turns the two unverified cases, a sandbox
with no published fingerprint and a caller that predates host-key
verification, from a warning into a refusal. It is off by default.
Signed-off-by: Adrien Langou <alangou@nvidia.com>
"openshell: warning: this SSH connection was started by an OpenShell client that predates host-key verification, so the SSH host key is NOT verified.\n\
4368
4370
Restart that client (the openshell command or openshell term)."
Copy file name to clipboardExpand all lines: skills/openshell-cli/SKILL.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -586,7 +586,8 @@ The CLI, the TUI, and generated SSH config entries verify the host key against
586
586
that fingerprint on every SSH connection they open, and refuse a different key
587
587
with `SSH host key mismatch`. A `NOT verified` warning means the gateway
588
588
published no fingerprint, or the SSH config entry predates host-key
589
-
verification; the warning prints its fix.
589
+
verification; the warning prints its fix. Set
590
+
`OPENSHELL_SSH_REQUIRE_HOST_KEY=1` to refuse such connections instead.
590
591
591
592
For an infrastructure `Error` on a backend that supports restarting stopped sandboxes, fix the reported cause, run `sandbox stop`, and wait for it to succeed before running `sandbox start`. This retains the sandbox and persistent workspace but cannot recover deleted resources or storage. For a provisioning timeout, wait for cleanup to finish, then run `sandbox start` directly.
0 commit comments