fix: prompt for jump host TOTP in terminal, file manager and metrics (#1312)

This commit is contained in:
LukeGus committed 2026-09-30 13:58:26 -05:00
1 parent 09259de01c
commit 41d0c0ab85
6 files changed
+211 -8

No files matched your search

+4
View File
@@ -1084,6 +1084,8 @@ export interface PluginSsh {
options?: {
/** Background work: resolve the hops as this host's owner. */
forHost?: PluginSshHost;
/** Answers a hop asking for TOTP or other input. */
prompt?: PluginSshPromptChannel;
},
) => Promise<PluginSshConnection<Client>>;
@@ -1140,6 +1142,8 @@ export interface PluginSsh {
/** False when the caller already resolved DNS, or a jump host will. */
resolveDns?: boolean;
log?: (level: "info" | "warning" | "error", message: string) => void;
/** Answers a jump host asking for TOTP or other input. */
prompt?: PluginSshPromptChannel;
},
) => Promise<{ jumpClient: unknown | null; via: string }>;