Skip to content

Commit

Permalink
Refactor known hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
Arjan Dikhoff committed Oct 25, 2024
1 parent d622a0f commit f05b3a9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,7 @@ then
echo "$BUILD_SSH_KEY_PUB" > ~/.ssh/id_cwapb.pub
SSH_COMMAND="ssh -vvv -i ~/.ssh/id_cwapb"
echo $SSH_COMMAND
echo "github.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl" > ~/.ssh/known_hosts
echo "[ssh.github.com]:443 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl" >> ~/.ssh/known_hosts
echo "ssh.github.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl" >> ~/.ssh/known_hosts

echo "$KNOWN_HOSTS" > ~/.ssh/known_hosts

chmod 0600 ~/.ssh/id_cwapb
chmod 0600 ~/.ssh/id_cwapb.pub
Expand Down

0 comments on commit f05b3a9

Please sign in to comment.