test ssh again
Signed-off-by: Nick Slowinski <nick@nick-slowinski.de>
Dieser Commit ist enthalten in:
Ursprung
02d45eb921
Commit
dfff5df618
1 geänderte Dateien mit 3 neuen und 2 gelöschten Zeilen
|
@ -23,8 +23,9 @@ jobs:
|
||||||
echo "$SSH_KEY" | tr -d '\r' > ~/.ssh/actions.key
|
echo "$SSH_KEY" | tr -d '\r' > ~/.ssh/actions.key
|
||||||
chmod 600 ~/.ssh/actions.key
|
chmod 600 ~/.ssh/actions.key
|
||||||
env:
|
env:
|
||||||
SSH_USER: ${{ secrets.WEB_SSH_USER }}
|
|
||||||
SSH_KEY: ${{ secrets.WEB_SSH_KEY }}
|
SSH_KEY: ${{ secrets.WEB_SSH_KEY }}
|
||||||
|
|
||||||
- name: Test SSH
|
- name: Test SSH
|
||||||
run: ssh -i ~/.ssh/actions.key $SSH_USER@be.nick-slowinski.de uptime
|
run: ssh -o "IdentitiesOnly=yes" -i ~/.ssh/actions.key $SSH_USER@be.nick-slowinski.de uptime
|
||||||
|
env:
|
||||||
|
SSH_USER: ${{ secrets.WEB_SSH_USER }}
|
Laden …
In neuem Issue referenzieren