Compare commits

..

2 Commits

Author SHA1 Message Date
Joey Hafner
6e8437f154
#16 Trigger workflow
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 12s
SSH and echo to file / ssh (push) Failing after 10s
2024-10-24 23:47:58 -07:00
Joey Hafner
24714471d5
#16 Run ssh more explicitly 2024-10-24 23:47:43 -07:00
2 changed files with 11 additions and 12 deletions

View File

@ -19,16 +19,15 @@ jobs:
- name: Configure SSH
run: |
echo -e "${{ secrets.RUNNER_SSH_PRIVATEKEY }}" > /tmp/key
chmod 0600 /tmp/key
chmod 600 /tmp/key
ssh-keygen -y -f /tmp/key > /tmp/key.pub
ssh-keygen -l -E sha256 -f /tmp/key.pub
mkdir -p ~/.ssh/ && touch ~/.ssh/known_hosts
ssh-keyscan 192.168.1.1 > ~/.ssh/known_hosts
chmod 0600 ~/.ssh/known_hosts
- name: Print running VyOS version
- name: Connect to VyOS
run: |
whoami
./vyos.sh op show system image
ssh -i /tmp/key vyos@192.168.1.1
# - name: SSH into host
# uses: appleboy/ssh-action@v1.1.0

File diff suppressed because one or more lines are too long