Normalize SSH keyfile paths before connecting
Change-Id: I8ea48741f3d1462b1569a5324cb6f1be7940fad1
This commit is contained in:
parent
99ca19c195
commit
ff682efb10
|
@ -75,7 +75,10 @@ def positive_int(value):
|
|||
def get_key_filename(value):
|
||||
if isinstance(value, six.string_types):
|
||||
value = [value]
|
||||
return [os.path.realpath(os.path.expanduser(v)) for v in value]
|
||||
key_filename = [tobiko.tobiko_config_path(v) for v in value]
|
||||
return [f
|
||||
for f in key_filename
|
||||
if os.path.isfile(f)]
|
||||
|
||||
|
||||
SSH_CONNECT_PARAMETERS = {
|
||||
|
|
Loading…
Reference in New Issue