From 3ab3c53bc12c0e7217760a18e947953713931b53 Mon Sep 17 00:00:00 2001 From: kierandrewett Date: Sat, 27 Apr 2024 21:13:55 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=AC=20Add=20text=20to=20show=20when=20?= =?UTF-8?q?SSH=20connection=20established?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/actions/run-via-ssh/action.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/actions/run-via-ssh/action.yml b/.github/actions/run-via-ssh/action.yml index b14065c..38e797b 100644 --- a/.github/actions/run-via-ssh/action.yml +++ b/.github/actions/run-via-ssh/action.yml @@ -52,6 +52,8 @@ runs: shell: bash --noprofile --norc -eo pipefail {0} run: | SERVER_IP="$(tailscale ip -6 ${{ inputs.ts_hostname }})" + + echo "Connecting to server over SSH on ${{ inputs.ssh_username }}@$SERVER_IP..." ssh -t ${{ inputs.ssh_username }}@$SERVER_IP "${{ inputs.run }}" - name: Nuke SSH keys