9 lines
233 B
Bash
Executable file
9 lines
233 B
Bash
Executable file
#!/bin/bash
|
|
# Assuming that this is a Debian container.
|
|
apt-get update && \
|
|
apt-get upgrade -y && \
|
|
apt install -y openssh && \
|
|
mkdir .ssh && \
|
|
echo $DEPLOY_SSH_KEY > .ssh/id_ed25519 && \
|
|
chmod -R go-rwx .ssh && \
|
|
ssh h@hackclub.app
|