mirror of
https://github.com/easingthemes/ssh-deploy.git
synced 2025-06-22 12:32:09 +10:00
Use custom port for host scan
This commit is contained in:
parent
164a3e861e
commit
a1e01b2fad
4 changed files with 7 additions and 1980 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue