using config on server for ssh known hosts
All checks were successful
ci/woodpecker/push/test Pipeline was successful
All checks were successful
ci/woodpecker/push/test Pipeline was successful
This commit is contained in:
parent
7bc95a8217
commit
eff0e5849e
1 changed files with 2 additions and 5 deletions
|
|
@ -11,9 +11,6 @@ steps:
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: kroniak/ssh-client
|
image: kroniak/ssh-client
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/ssh/keys:/etc/ssh/keys
|
- /etc/ssh:/etc/ssh
|
||||||
commands:
|
commands:
|
||||||
- cat /etc/ssh/keys/id_ed25519
|
- ssh root@autobaan touch deploy
|
||||||
- ping -c 1 192.168.1.167
|
|
||||||
- ping -c 1 autobaan
|
|
||||||
- ssh -i /etc/ssh/keys/id_ed25519 root@autobaan touch deploy
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue