v1.14.0 #304

Merged
muellerr merged 366 commits from develop into main 2022-10-10 17:46:38 +02:00
Showing only changes of commit ab919131fb - Show all commits

View File

@ -97,10 +97,11 @@ def build_cmd(args):
target = f"/tmp" target = f"/tmp"
else: else:
target = args.target target = args.target
accepted_key_rsa_args = "-o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedKeyTypes=+ssh-rsa"
if args.invert: if args.invert:
cmd += f"{port_args} {address}:{args.source} {target}" cmd += f"{port_args} {accepted_key_rsa_args} {address}:{args.source} {target}"
else: else:
cmd += f"{port_args} {args.source} {address}:{target}" cmd += f"{port_args} {accepted_key_rsa_args} {args.source} {address}:{target}"
return cmd return cmd