diff --git a/src/node-explorer-provider.ts b/src/node-explorer-provider.ts index fd96f86..fcadd23 100644 --- a/src/node-explorer-provider.ts +++ b/src/node-explorer-provider.ts @@ -623,7 +623,7 @@ export class NodeExplorerProvider const { addr, path } = extractAddrAndPath(node); if (addr && this.configManager.config.hosts?.[addr].persistToSSHConfig !== false) { - syncSSHConfig(addr, this.configManager); + await syncSSHConfig(addr, this.configManager); } if (node instanceof PeerRoot && addr) {