fix: multiplex ssh and ssl copy

This commit is contained in:
Andras Bacsai
2022-09-26 11:15:14 +02:00
parent 5ed3565520
commit 5f57279283
3 changed files with 30 additions and 32 deletions

View File

@@ -546,6 +546,7 @@ export async function createRemoteEngineConfiguration(id: string) {
StrictHostKeyChecking: 'no',
ControlMaster: 'auto',
ControlPath: `${homedir}/.ssh/coolify-%r@%h:%p`,
ControlPersist: '10m'
})
}
const found = config.find({ Host: remoteIpAddress });