accept rsa keys for q7s-cp.py as well
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
This commit is contained in:
parent
8161d1cd88
commit
ab919131fb
@ -97,10 +97,11 @@ def build_cmd(args):
|
||||
target = f"/tmp"
|
||||
else:
|
||||
target = args.target
|
||||
accepted_key_rsa_args = "-o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedKeyTypes=+ssh-rsa"
|
||||
if args.invert:
|
||||
cmd += f"{port_args} {address}:{args.source} {target}"
|
||||
cmd += f"{port_args} {accepted_key_rsa_args} {address}:{args.source} {target}"
|
||||
else:
|
||||
cmd += f"{port_args} {args.source} {address}:{target}"
|
||||
cmd += f"{port_args} {accepted_key_rsa_args} {args.source} {address}:{target}"
|
||||
return cmd
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user