()
| 86 | } |
| 87 | |
| 88 | function getAgentConfig(): string | undefined { |
| 89 | if (process.env.SSH_AUTH_SOCK) { |
| 90 | return process.env.SSH_AUTH_SOCK; |
| 91 | } |
| 92 | |
| 93 | if (process.platform === "win32") { |
| 94 | return "pageant"; |
| 95 | } |
| 96 | |
| 97 | return undefined; |
| 98 | } |
| 99 | |
| 100 | function getDefaultUsername(): string { |
| 101 | try { |