diff --git a/src/features/services/connectionDialog.test.tsx b/src/features/services/connectionDialog.test.tsx
new file mode 100644
index 000000000..1e4d9135d
--- /dev/null
+++ b/src/features/services/connectionDialog.test.tsx
@@ -0,0 +1,37 @@
+import { act, cleanup, render, screen } from "@testing-library/react";
+import { afterEach, describe, expect, it } from "vitest";
+import type { Settings } from "@/platform/ipc";
+import { useProject } from "@/platform/project";
+import { openConnectionDialog, ServicesDialogHost } from "./dialogs";
+
+afterEach(() => {
+ cleanup();
+ useProject.setState({ settings: null });
+});
+
+describe("Docker connection dialog", () => {
+ it("offers the SSH configurations of Settings › Tools › SSH Configurations", () => {
+ const config = {
+ id: "ssh1",
+ name: "Build server",
+ host: "build-server",
+ port: 2222,
+ user: "ops",
+ auth: "openSsh",
+ keyFile: "",
+ saveSecret: false,
+ };
+ useProject.setState({ settings: { ssh: { configs: [config] } } as unknown as Settings });
+ render();
+ act(() =>
+ openConnectionDialog({
+ id: "c1",
+ name: "Docker",
+ endpoint: { kind: "tcp", host: "ssh://ops@build-server:2222", tlsCertDir: null },
+ } as never),
+ );
+ const picker = screen.getByRole("button", { name: /SSH configuration/ });
+ expect(picker.textContent).toContain("Build server");
+ expect(picker.textContent).not.toContain("missing");
+ });
+});
diff --git a/src/features/services/dialogs.tsx b/src/features/services/dialogs.tsx
index 84f595b39..8cad8d804 100644
--- a/src/features/services/dialogs.tsx
+++ b/src/features/services/dialogs.tsx
@@ -234,6 +234,7 @@ function ConnectionDialog({ existing, onDone }: { existing?: DockerConnection; o
diff --git a/src/platform/locales/text/en.json b/src/platform/locales/text/en.json
index 4f7c0d9fb..47714c2d3 100644
--- a/src/platform/locales/text/en.json
+++ b/src/platform/locales/text/en.json
@@ -1883,5 +1883,6 @@
"No playful words: the status stays factual": "No playful words: the status stays factual",
"e.g. Reticulating splines…": "e.g. Reticulating splines…",
"New playful word": "New playful word",
- "Restore Built-in Words": "Restore Built-in Words"
+ "Restore Built-in Words": "Restore Built-in Words",
+ "None — type the Engine API URL below": "None — type the Engine API URL below"
}
diff --git a/src/platform/locales/text/zh.json b/src/platform/locales/text/zh.json
index f8b1a6028..1700d3dc2 100644
--- a/src/platform/locales/text/zh.json
+++ b/src/platform/locales/text/zh.json
@@ -8284,5 +8284,6 @@
"No playful words: the status stays factual": "没有趣味文字:状态只显示实际进展",
"e.g. Reticulating splines…": "例如:正在网格化样条曲线…",
"New playful word": "新的趣味文字",
- "Restore Built-in Words": "恢复内置文字"
+ "Restore Built-in Words": "恢复内置文字",
+ "None — type the Engine API URL below": "无(在下方输入 Engine API URL)"
}