diff --git a/setup.sh b/setup.sh index 217dd8d..6cadc98 100755 --- a/setup.sh +++ b/setup.sh @@ -101,7 +101,7 @@ setup_sqlproxy() { PUB_KEY="$(cat ${HOME}/.ssh/${KEY_NAME}.pub)" if ! grep -qe "$(printf '%s$' "${PUB_KEY}")" "${PROJECT_PATH}/etc/ssh/.ssh/authorized_keys" then - printf 'command="/sqlproxy_cli.sh" %s' "${PUB_KEY}" >> "${PROJECT_PATH}/etc/ssh/.ssh/authorized_keys" + printf 'command="/sqlproxy_cli.sh" %s\n' "${PUB_KEY}" >> "${PROJECT_PATH}/etc/ssh/.ssh/authorized_keys" fi printf 'Restarting sql proxy (if running) to fix permissions.\n'