feat: ssh.ts
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user