Skip to content

Commit

Permalink
fix: #17 env var name typo
Browse files Browse the repository at this point in the history
  • Loading branch information
bohdan-shulha committed Nov 9, 2024
1 parent 32980a4 commit 6cfc26d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bin/init_busybox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ set -e
# Source the shared library
. "$(dirname "$0")/../lib/validate.sh"

check_var PATH_SSH_PUBLIC_KEY
check_var PATH_SSH_PRIVATE_KEY
check_var PTAH_SSH_PUBLIC_KEY
check_var PTAH_SSH_PRIVATE_KEY

mkdir -p ~/.ssh
chmod 700 ~/.ssh
Expand All @@ -16,8 +16,8 @@ Host *
StrictHostKeyChecking accept-new
EOF

echo "$PATH_SSH_PUBLIC_KEY" > ~/.ssh/id_rsa.pub
echo "$PATH_SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
echo "$PTAH_SSH_PUBLIC_KEY" > ~/.ssh/id_rsa.pub
echo "$PTAH_SSH_PRIVATE_KEY" > ~/.ssh/id_rsa

chmod 600 ~/.ssh/id_rsa
chmod 644 ~/.ssh/id_rsa.pub

0 comments on commit 6cfc26d

Please sign in to comment.