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
|
||||
image: kroniak/ssh-client
|
||||
volumes:
|
||||
- /etc/ssh/keys:/etc/ssh/keys
|
||||
- /etc/ssh:/etc/ssh
|
||||
commands:
|
||||
- cat /etc/ssh/keys/id_ed25519
|
||||
- ping -c 1 192.168.1.167
|
||||
- ping -c 1 autobaan
|
||||
- ssh -i /etc/ssh/keys/id_ed25519 root@autobaan touch deploy
|
||||
- ssh root@autobaan touch deploy
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue