fix: now ssh connection use use private key instead of the default

This commit is contained in:
Levi Yan
2024-10-28 19:02:56 +08:00
parent b279860ebe
commit d79a4a8243
2 changed files with 8 additions and 2 deletions

View File

@@ -12,8 +12,8 @@ export default class DSHome {
constructor(context: vscode.ExtensionContext) {
this.context = context;
this.remoteContainer = new RemoteContainer();
this.user = new User(context);
this.remoteContainer = new RemoteContainer(this.user);
}
async toggle(url: string = DSHome.defaultUrl) {