allow specifying the SSH port (fixes #269)

This commit is contained in:
Eugene Pankov
2018-01-04 21:13:46 +01:00
parent 15c23eb7dd
commit 9c257b0002
6 changed files with 19 additions and 2 deletions

View File

@@ -100,6 +100,7 @@ export class SSHService {
ssh.connect({
host: connection.host,
port: connection.port || 22,
username: connection.user,
password: privateKey ? undefined : '',
privateKey,