Skip to content

Commit

Permalink
change config name
Browse files Browse the repository at this point in the history
  • Loading branch information
Firgrep committed Sep 18, 2024
1 parent 4ada1ff commit 3cef9c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ if [ -n "$GH_PAT" -a -n "$SSH_KEY" -a -n "$KNOWN_HOSTS" ]; then
export GIT_SSH_COMMAND='ssh -Tv'
echo "$SSH_KEY" > "$SSH_DIR/id_rsa"
echo "$KNOWN_HOSTS" > "$SSH_DIR/known_hosts"
echo "Host *" >> "$SSH_DIR/config" && echo " StrictHostKeyChecking no" >> "$SSH_DIR/config"
cat "$SSH_DIR/config"
echo "Host *" >> "$SSH_DIR/ssh_config" && echo " StrictHostKeyChecking no" >> "$SSH_DIR/ssh_config"
cat "$SSH_DIR/ssh_config"
chmod 700 "$SSH_DIR"
chmod 600 "$SSH_DIR/id_rsa"
chmod 644 "$SSH_DIR/known_hosts"
Expand Down

0 comments on commit 3cef9c2

Please sign in to comment.