@ -6,6 +6,8 @@ SSH_KEY_FILE=/tmp/gitea-pages-ssh-key-$(date +%s)
echo "${INPUT_SSH_KEY}" >> "${SSH_KEY_FILE}"
chmod 600 "${SSH_KEY_FILE}"
cat "${SSH_KEY_FILE}"
# set up ssh remote key
echo "${INPUT_HOST} ${INPUT_HOST_KEY}" >> ~/.ssh/known_hosts
The note is not visible to the blocked user.