cli: oops, fix ssh args

wish there were some tests for this
This commit is contained in:
Brian Warner 2017-01-16 11:34:32 -05:00
parent df62e16462
commit f2704c6ce0

View File

@ -294,7 +294,7 @@ def ssh_accept(cfg, code, key_file, yes, **kwargs):
""" """
for name, value in kwargs.items(): for name, value in kwargs.items():
setattr(cfg.obj, name, value) setattr(cfg, name, value)
from . import cmd_ssh from . import cmd_ssh
kind, keyid, pubkey = cmd_ssh.find_public_key(key_file) kind, keyid, pubkey = cmd_ssh.find_public_key(key_file)
print("Sending public key type='{}' keyid='{}'".format(kind, keyid)) print("Sending public key type='{}' keyid='{}'".format(kind, keyid))