From 0e3038650288a1ecdede6dd298e57ed1fd739a31 Mon Sep 17 00:00:00 2001 From: tamil Date: Thu, 13 Jun 2013 17:13:09 -0700 Subject: [PATCH] adding a newline to auth key data Signed-off-by: tamil --- teuthology/task/ssh_keys.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teuthology/task/ssh_keys.py b/teuthology/task/ssh_keys.py index 5fbc2e3dab36a..f9d9664363aac 100644 --- a/teuthology/task/ssh_keys.py +++ b/teuthology/task/ssh_keys.py @@ -110,7 +110,7 @@ def push_keys_to_host(ctx, config, public_key, private_key): inner_username, inner_hostname = str(inner_host).split('@') # create a 'user@hostname' string using our fake hostname fake_hostname = '{user}@{host}'.format(user=ssh_keys_user,host=str(inner_hostname)) - auth_keys_data += '\nssh-rsa {pub_key} {user_host}'.format(pub_key=public_key,user_host=fake_hostname) + auth_keys_data += '\nssh-rsa {pub_key} {user_host}\n'.format(pub_key=public_key,user_host=fake_hostname) # for each host in ctx, add keys for all other hosts for remote in ctx.cluster.remotes: -- 2.39.5