parent
baa39fbcd6
commit
1b4ae32c31
1 changed files with 3 additions and 1 deletions
|
@ -32,9 +32,11 @@ jobs:
|
|||
name: SSH connection tests
|
||||
runs-on: bookworm
|
||||
steps:
|
||||
- name: Install SSH key to proper place
|
||||
- name: Create directory
|
||||
run: |
|
||||
mkdir -p ~/.ssh/
|
||||
- name: Install SSH key to proper place
|
||||
run: |
|
||||
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
|
||||
ssh-keyscan -H ${{ secrets.SSH_HOST }} > ~/.ssh/known_hosts
|
||||
- name: Connect and check
|
||||
|
|
Loading…
Reference in a new issue