mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-05 18:42:55 +00:00
removing leading space before first public key obtained from security_service when updating authorized_keys
This commit is contained in:
1 parent
1e545e198e
commit
e7eccfb2d9
1 file changed
+1
-1
+1
-1
@@ -36,7 +36,7 @@ if [ "${curl_exit_code}" = "0" ]; then
|
||||
# Start out with the original AWS-generated authorized_keys file
|
||||
# and append the public SSH keys of all users having LANDSCAPE:MANAGE:AWS permission:
|
||||
echo "$( cat ${SSH_DIR}/authorized_keys.org )
|
||||
${public_keys}" | sort -u >${SSH_DIR}/authorized_keys
|
||||
${public_keys}" | sort -u >${SSH_DIR}/authorized_keys
|
||||
else
|
||||
EXIT_CODE=${jq_exit_code}
|
||||
logger -t sailing "Couldn't parse response of users_with_permission; jq exit code ${jq_exit_code}"
|
||||
|
||||
Reference in new issue
Block a user