From 672244cf16d72c2b2a8e521c398494c58431f146 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20Loipf=C3=BChrer?= <michael.loipfuehrer@tum.de>
Date: Mon, 10 Jun 2019 18:25:45 +0200
Subject: [PATCH] small changes

---
 lustmolch.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lustmolch.py b/lustmolch.py
index f8d2171..4d10a06 100755
--- a/lustmolch.py
+++ b/lustmolch.py
@@ -240,7 +240,7 @@ def install_ssh_key(config_file, key_string, name, key):
     click.echo(f'Appending ssh key\n{key_string} to {authorized_keys}')
     ssh_dir.mkdir(mode=0o700, parents=True, exist_ok=True)
     with open(authorized_keys, 'a+') as f:
-        f.write(key_string)
+        f.write('\n' + key_string)
     authorized_keys.chmod(0o600)
 
 
-- 
GitLab