Test ssh with the correct user
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: Noah Knegt <git@noahknegt.com>
This commit is contained in:
2023-03-31 10:27:35 +02:00
parent aefd6d74a4
commit 3ab5c7236a

View File

@@ -21,7 +21,7 @@ steps:
- echo "$SSH_KEY" > /root/.ssh/id_ed25519
- chmod 600 /root/.ssh/id_ed25519
- 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:
SSH_KEY:
from_secret: ssh_key