#!/bin/bash # Assuming that this is a Debian container. # apt-get update && \ # apt-get upgrade -y && \ # Apparently ssh is installed, lol # apt install -y openssh-client && \ mkdir ~/.ssh && \ echo $DEPLOY_SSH_KEY | base64 -d > ~/.ssh/id_ed25519 && \ cat nest-known-hosts-cache.txt > ~/.ssh/known_hosts && \ chmod -R go-rwx ~/.ssh && \ ssh -T -o UserKnownHostsFile=nest-known-hosts-cache.txt h@hackclub.app