#16 Commit sin
This commit is contained in:
parent
900b53822f
commit
3634634d1b
@ -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
Loading…
Reference in New Issue
Block a user