Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
fredriklindberg committed Oct 13, 2023
1 parent dc31a72 commit 99e789b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 3 additions & 1 deletion src/transport/ssh/ssh-transport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,9 @@ class SSHTransport extends Transport {
}

async _destroy(): Promise<void> {
this._client.end();
try {
this._client.end();
} catch (e: any) {}
await this._tunnelService.destroy();
}
}
Expand Down
3 changes: 1 addition & 2 deletions test/e2e/e2e-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ export const sshClient = (host, port, username, password, target) => {
client.connect({
host,
port: parseInt(port),
username,
password,
username: `${username}:${password}`,
//debug: (str) => { console.log(str) }
});

Expand Down

0 comments on commit 99e789b

Please sign in to comment.