From 6d56802dbf94125d4904ff4011d67b79e910a803 Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Mon, 29 Jul 2019 08:05:05 -0700 Subject: [PATCH] we want to copy get_authorized_keys, not authorized_keys --- makeitso | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makeitso b/makeitso index 7ada939..6c1583e 100755 --- a/makeitso +++ b/makeitso @@ -11,7 +11,7 @@ sudo sh -c "echo 'Match User $1 AuthorizedKeysCommand /etc/ssh/get_authorized_keys AuthorizedKeysCommandUser authorizedkeysuser' >> /etc/ssh/sshd_config" -sudo cp authorized_keys /etc/ssh +sudo cp get_authorized_keys /etc/ssh sudo chmod 755 /etc/ssh/get_authorized_keys