From e4fdca08e57bb0938c1e0bef8d48f6e87b3f9e45 Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Mon, 9 Oct 2017 16:24:11 +0300 Subject: [PATCH] ssh: fix identity stringification --- libagent/ssh/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libagent/ssh/__init__.py b/libagent/ssh/__init__.py index 0f60334..df3cb7d 100644 --- a/libagent/ssh/__init__.py +++ b/libagent/ssh/__init__.py @@ -205,7 +205,7 @@ def main(device_type): identity_str=args.identity, curve_name=args.ecdsa_curve_name)] for index, identity in enumerate(identities): identity.identity_dict['proto'] = u'ssh' - log.info('identity #%d: %s', index, identity) + log.info('identity #%d: %s', index, identity.to_string()) if args.connect: command = ['ssh'] + ssh_args(args.identity) + args.command