#16 Commit sin
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 12s
SSH and echo to file / ssh (push) Failing after 12s

This commit is contained in:
Joey Hafner 2024-10-24 23:54:34 -07:00
parent 900b53822f
commit 3634634d1b
No known key found for this signature in database
2 changed files with 10 additions and 10 deletions

View File

@ -24,10 +24,10 @@ jobs:
ssh-keygen -l -E sha256 -f /tmp/key.pub ssh-keygen -l -E sha256 -f /tmp/key.pub
mkdir -p ~/.ssh/ && touch ~/.ssh/known_hosts mkdir -p ~/.ssh/ && touch ~/.ssh/known_hosts
ssh-keyscan 192.168.1.1 > ~/.ssh/known_hosts ssh-keyscan 192.168.1.1 > ~/.ssh/known_hosts
chmod 0600 ~/.ssh/known_hosts chmod 600 ~/.ssh/known_hosts
- name: Connect to VyOS - name: Connect to VyOS
run: | run: |
ssh -vvv -i /tmp/key vyos@192.168.1.1 'whoami' ssh -vvv -i /tmp/key -o StrictHostKeyChecking=no vyos@192.168.1.1 'whoami'
# - name: SSH into host # - name: SSH into host
# uses: appleboy/ssh-action@v1.1.0 # uses: appleboy/ssh-action@v1.1.0

File diff suppressed because one or more lines are too long