diff options
Diffstat (limited to 'app/utils/ssh_conn.py')
-rw-r--r-- | app/utils/ssh_conn.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/utils/ssh_conn.py b/app/utils/ssh_conn.py index d4b7954..c58b980 100644 --- a/app/utils/ssh_conn.py +++ b/app/utils/ssh_conn.py @@ -38,7 +38,7 @@ class SshConn(SshConnection): self.user = None self.pwd = None self.check_definitions() - super().__init__(self.host, self.user, _pwd=self.pwd, _key=self.key, + super().__init__(host_name, self.user, _pwd=self.pwd, _key=self.key, _port=self.port, for_sftp=for_sftp) self.inv = InventoryMgr() if host_name in self.connections and not self.ssh: |