forked from 9pfs/h.hackclub.app
Finally figured it out, yay
This commit is contained in:
parent
326db6a7cc
commit
d966de651a
1 changed files with 5 additions and 5 deletions
|
@ -4,8 +4,8 @@
|
||||||
# apt-get upgrade -y && \
|
# apt-get upgrade -y && \
|
||||||
# Apparently ssh is installed, lol
|
# Apparently ssh is installed, lol
|
||||||
# apt install -y openssh-client && \
|
# apt install -y openssh-client && \
|
||||||
mkdir .ssh && \
|
mkdir ~/.ssh && \
|
||||||
echo $DEPLOY_SSH_KEY > .ssh/id_ed25519 && \
|
echo $DEPLOY_SSH_KEY > ~/.ssh/id_ed25519 && \
|
||||||
cat nest-known-hosts-cache.txt > .ssh/known_hosts && \
|
cat nest-known-hosts-cache.txt > ~/.ssh/known_hosts && \
|
||||||
chmod -R go-rwx .ssh && \
|
chmod -R go-rwx ~/.ssh && \
|
||||||
ssh -T -o UserKnownHostsFile=nest-known-hosts-cache.txt h@hackclub.app
|
ssh -T -o UserKnownHostsFile=nest-known-hosts-cache.txt -i h@hackclub.app
|
||||||
|
|
Loading…
Reference in a new issue