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 a925b8f
Browse filesBrowse the repository at this point in the historyBrowse files
fix(cli): name the missing flags in the unverified SSH warning
The ssh-proxy warning blamed an older client, which is wrong when
someone starts the proxy by hand. It now names the missing flags.
Also say why a generated config entry turns connection sharing off: its
host alias does not name the gateway, so a shared connection would serve
the sandbox of the same name on another gateway without a host key
check. Note that the gateway issues only Ed25519 host keys, and document
that the fingerprint is read per connection and that unverified
connections are allowed by default.
Signed-off-by: Adrien Langou <alangou@nvidia.com>
// The `ssh` of such a client accepts any host key.
4366
+
// An older client starts the proxy this way, and its `ssh`
4367
+
// accepts any host key.
4367
4368
(None,None) => {
4368
4369
eprintln!(
4369
-
"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\
4370
-
Restart that client (the openshell command or openshell term)."
4370
+
"openshell: warning: ssh-proxy was started without --host-key and --known-hosts, so the SSH host key is NOT verified.\n\
4371
+
If an OpenShell client that predates host-key verification started it, restart that client (the openshell command or openshell term)."
0 commit comments