mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-29 06:35: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
@@ -265,7 +265,11 @@ export function createPluginSsh({ manifest, bag, audit }: Deps): PluginSsh {
|
||||
const userId = userFor(chainOptions?.forHost);
|
||||
const { createJumpHostChain } =
|
||||
await import("../hosts/jump-host-chain.js");
|
||||
const client = await createJumpHostChain(jumpHosts, userId);
|
||||
const client = await createJumpHostChain(
|
||||
jumpHosts,
|
||||
userId,
|
||||
chainOptions?.prompt as Parameters<typeof createJumpHostChain>[2],
|
||||
);
|
||||
const details = `jump chain of ${jumpHosts.length} hop(s)`;
|
||||
if (!client) {
|
||||
await audit("ssh_jump_chain", details, {
|
||||
|
||||
Reference in new issue
Block a user