test-ssh #12

Merged
noah.knegt merged 7 commits from test-ssh into master 2023-03-31 10:29:48 +02:00
Showing only changes of commit 3ab5c7236a - Show all commits

View File

@@ -21,7 +21,7 @@ steps:
- echo "$SSH_KEY" > /root/.ssh/id_ed25519 - echo "$SSH_KEY" > /root/.ssh/id_ed25519
- chmod 600 /root/.ssh/id_ed25519 - chmod 600 /root/.ssh/id_ed25519
- ssh-keyscan -p 4422 vps.noahknegt.com > /root/.ssh/known_hosts - ssh-keyscan -p 4422 vps.noahknegt.com > /root/.ssh/known_hosts
- ssh -p 4422 vps.noahknegt.com "echo 'SSH connection established'" - ssh -p 4422 noahk@vps.noahknegt.com "echo 'SSH connection established'"
environment: environment:
SSH_KEY: SSH_KEY:
from_secret: ssh_key from_secret: ssh_key