Fix SSH tunnel password decryption. Fixes #4320

This commit is contained in:
Aditya Toshniwal
2019-06-25 07:06:04 -04:00
committed by Dave Page
parent c69ffaa91c
commit 0d42f8026c

View File

@@ -348,7 +348,9 @@ WHERE db.oid = {0}""".format(did))
# Check SSH Tunnel needs to be created
if self.use_ssh_tunnel == 1 and \
not self.tunnel_created:
status, error = self.create_ssh_tunnel()
status, error = self.create_ssh_tunnel(
self.tunnel_password
)
# Check SSH Tunnel is alive or not.
self.check_ssh_tunnel_alive()