(config: SSHConnectionConfig)
| 130 | } |
| 131 | |
| 132 | function makeConnectionKey(config: SSHConnectionConfig): string { |
| 133 | const parts = [ |
| 134 | getDefaultUsername(), |
| 135 | config.host, |
| 136 | config.port?.toString() ?? "22", |
| 137 | config.identityFile ?? "default", |
| 138 | ]; |
| 139 | return parts.join(":"); |
| 140 | } |
| 141 | |
| 142 | function sanitizeProxyCommand( |
| 143 | command: string, |
no test coverage detected