Use custom port for host scan

This commit is contained in:
Sebastian Blesgen 2023-02-10 18:55:53 +01:00
parent 164a3e861e
commit a1e01b2fad
4 changed files with 7 additions and 1980 deletions

View file

@ -20,7 +20,7 @@ const run = async () => {
const { path: privateKeyPath } = getPrivateKeyPath(deployKeyName);
// Update known hosts if ssh command is present to avoid prompt
if (scriptBefore || scriptAfter) {
updateKnownHosts(remoteHost);
updateKnownHosts(remoteHost, remotePort);
}
// Check Script before
if (scriptBefore) {