Update ssh.service.ts
This commit is contained in:
@@ -115,6 +115,7 @@ export const establishSshConnection = (
|
|||||||
privateKey: connDetails.privateKey,
|
privateKey: connDetails.privateKey,
|
||||||
passphrase: connDetails.passphrase,
|
passphrase: connDetails.passphrase,
|
||||||
readyTimeout: timeout,
|
readyTimeout: timeout,
|
||||||
|
tryKeyboard: true, // 尝试处理 keyboard-interactive 认证
|
||||||
keepaliveInterval: 10000, // 保持连接
|
keepaliveInterval: 10000, // 保持连接
|
||||||
keepaliveCountMax: 10,
|
keepaliveCountMax: 10,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user