From 0d7cecb80d9dd0e61385d4ac361ea0e490119b2d Mon Sep 17 00:00:00 2001 From: Ruben Hensen Date: Sun, 15 Mar 2026 13:09:59 +0100 Subject: [PATCH] ip updater debug --- ip-updater/cronjob.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ip-updater/cronjob.yaml b/ip-updater/cronjob.yaml index 1a010de..273e7a2 100644 --- a/ip-updater/cronjob.yaml +++ b/ip-updater/cronjob.yaml @@ -19,6 +19,8 @@ spec: apk add --no-cache openssh-client curl > /dev/null 2>&1 cp /ssh-key/private_key /tmp/ssh_key chmod 600 /tmp/ssh_key + echo "Key starts with: $(head -1 /tmp/ssh_key)" + wc -c /tmp/ssh_key IP=$(curl -s --max-time 10 https://api.ipify.org) if [ -z "$IP" ]; then echo "Failed to get external IP"