feat: ssh.ts

This commit is contained in:
2026-01-11 13:56:47 +08:00
parent ccb9c78008
commit d66827de86

View File

@@ -172,8 +172,7 @@ async function main() {
const sshUsername = username || sshProfile.default_username || const sshUsername = username || sshProfile.default_username ||
sshConfig.default_username || "root"; sshConfig.default_username || "root";
const sshForwardAgent = sshTsArgs.forwardAgent || const sshForwardAgent = sshTsArgs.forwardAgent ||
sshProfile.forward_agent || sshProfile.forward_agent || sshConfig.default_forward_agent || true;
sshConfig.default_forward_agent || true;
const sshProxy = sshTsArgs.proxy || sshProfile.proxy || const sshProxy = sshTsArgs.proxy || sshProfile.proxy ||
sshConfig.default_proxy || false; sshConfig.default_proxy || false;
if (sshForwardAgent) { if (sshForwardAgent) {