From 1c1e7e08b1b6fd14fa20716d0f0b94fb71a0bbdd Mon Sep 17 00:00:00 2001 From: Dhruv Sharma Date: Thu, 2 Apr 2026 12:38:10 +0530 Subject: [PATCH] ci: add temporary VPS fingerprint helper --- .github/workflows/vps-host-fingerprint.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/vps-host-fingerprint.yml diff --git a/.github/workflows/vps-host-fingerprint.yml b/.github/workflows/vps-host-fingerprint.yml new file mode 100644 index 000000000..8e19bdd20 --- /dev/null +++ b/.github/workflows/vps-host-fingerprint.yml @@ -0,0 +1,18 @@ +name: VPS Host Fingerprint + +on: + workflow_dispatch: + +jobs: + fingerprint: + runs-on: ubuntu-latest + steps: + - name: Read VPS RSA host fingerprint + uses: appleboy/ssh-action@v1.2.2 + with: + host: ${{ secrets.VPS_HOST }} + username: root + key: ${{ secrets.VPS_SSH_KEY }} + script: | + set -e + ssh-keygen -lf /etc/ssh/ssh_host_rsa_key.pub -E sha256 | awk '{print $2}'