Use known good SSH known_hosts contents

This commit is contained in:
9pfs 2024-04-06 18:04:42 -07:00
parent bdc93b8887
commit f8db71f441
Signed by: 9pfs
SSH key fingerprint: SHA256:TOcGxMQCfy4VvRM8AzgXErKXdkAtaTcpGXgYMpyoJoY
2 changed files with 9 additions and 0 deletions

View file

@ -0,0 +1,8 @@
# hackclub.app:22 SSH-2.0-OpenSSH_9.2p1 Debian-2+deb12u2
hackclub.app ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCkQnX8cBdKobrNL8xCoS+Z1vNRcWcmj2kGhZsgfzF91Rmj2iX/kTC4qQvm/2yYUb58AULew+tuwaZitUCIpUIA6qn41rURpzYf5Yuf0Xjy9DeJwZmBuw6jjoKMYcy1nD/eDMvSMyIKpr0Yygqfdw7F8VghJzKeG/CEqfZkBV1993ad9G0usl74gPrgIb524FeTnrNr+G3NXs53VtvBY7TrpJK2wHLlLfMm6mXk3C7AI5AYaGRo+3PndqhmGnfQndgj3oK6AZAYQHR8XXrZEZt6eptNdi5vQs+VvNZHCVLB4AO3O+IgVfVh6Pm+Y1nXk13coTXJtfI4grrxAVjIbGzrCUC9Gr34u7037xUyvgVPLMHhEWc7zw5YqBotptz0IUE6Qjffa3NaBdM4oRsdEXK5VmPlowsxeHVz0H+S8omL8stRtOA37SXhP8nepH1Eqo5/cyVo/pR0+JsEBqptHAjJ19qEz3qUl+i5YB84ewyq3hDLOA3+p8fCwcV+oZp/u9c=
# hackclub.app:22 SSH-2.0-OpenSSH_9.2p1 Debian-2+deb12u2
hackclub.app ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNzIySdwx0OqVCH8vFBDkQwsWJ4h0mVN1F2Al840f0zuF/5BjF5TQDvlZXlTtT7NpKsBga4tkk4VMnA3lHc8WYY=
# hackclub.app:22 SSH-2.0-OpenSSH_9.2p1 Debian-2+deb12u2
hackclub.app ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ3pezDUZG+4bPRZg2znAuuMp42AL+rc1HGUltnNf8cA
# hackclub.app:22 SSH-2.0-OpenSSH_9.2p1 Debian-2+deb12u2
# hackclub.app:22 SSH-2.0-OpenSSH_9.2p1 Debian-2+deb12u2

View file

@ -6,5 +6,6 @@
# 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 && \
chmod -R go-rwx .ssh && \ chmod -R go-rwx .ssh && \
ssh h@hackclub.app ssh h@hackclub.app