diff --git a/bin/compile b/bin/compile index 466a87c..d730ac1 100644 --- a/bin/compile +++ b/bin/compile @@ -20,6 +20,7 @@ if [ "$ssh_key" != "" ]; then mkdir "$1/.ssh" ln -s "$1/.ssh" "$HOME/.ssh" echo "$ssh_key" | base64 --decode > "$HOME/.ssh/id_rsa" + chmod 0600 "$HOME/.ssh/id_rsa" IFS=',' read -ra HOST <<< "$ssh_hosts" for i in "${HOST[@]}"; do