diff --git a/src/remote-container.ts b/src/remote-container.ts index f19af23..78e63ac 100644 --- a/src/remote-container.ts +++ b/src/remote-container.ts @@ -118,7 +118,7 @@ export default class RemoteContainer { for await (const line of reader) { // host format: hostname:port - if (line.includes(`Host ${host}:${port}`)) { + if (line.includes(`Host ${host}-${port}`)) { // the container ssh info exists canAppendSSHConfig = false break;