Commit 224111c6 authored by Robin Schneider's avatar Robin Schneider

Fix support to use a non-default ssh port

parent bb1728e3
......@@ -54,7 +54,7 @@ class FdeUnlock(object):
self._original_host, 'address_family',
fallback=ssh_host_cfg.get('addressfamily', 'any'))
port = ssh_host_cfg.get('port', 22)
port = int(ssh_host_cfg.get('port', 22))
host = ssh_host_cfg.get('hostname', self._original_host)
LOG.debug("SSH options: host: {}, port: {}".format(
self._original_host, port,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment