Code: https://github.com/easingthemes/ssh-deploy/blob/ec9347f8c60811cb02d14f028b78f188c3dc18ca/src/sshKey.js#L30 If the port is not default, the ssh-keyscan will fail. looks like we should do `ssh-keyscan -p ${(remotePort || 22)} -H ${host} >> ${knownHostsPath}` instead.
Code:
ssh-deploy/src/sshKey.js
Line 30 in ec9347f
If the port is not default, the ssh-keyscan will fail.
looks like we should do
ssh-keyscan -p ${(remotePort || 22)} -H ${host} >> ${knownHostsPath}instead.