mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-29 14:45:24 +00:00
fix: prompt for jump host TOTP in terminal, file manager and metrics (#1312)
This commit is contained in:
1 parent
09259de01c
commit
41d0c0ab85
6 files changed
+211
-8
No files matched your search
@@ -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 }>;
|
||||
|
||||
|
||||
Reference in new issue
Block a user