Another attempt at SSH auth
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
3wc 2023-01-15 18:59:47 -08:00
parent e440c46ff1
commit 665d602765

View File

@ -10,7 +10,8 @@ steps:
commands: commands:
- apk add --no-cache git openssh - apk add --no-cache git openssh
- mkdir $HOME/.ssh/ - mkdir $HOME/.ssh/
- echo "SSH_$KEY" > $HOME/.ssh/id_rsa - eval `ssh-agent`
- echo "$SSH_KEY" | ssh-add -
- ssh-keyscan -p 2222 -t rsa git.coopcloud.tech >> $HOME/.ssh/known_hosts - ssh-keyscan -p 2222 -t rsa git.coopcloud.tech >> $HOME/.ssh/known_hosts
- chmod -R go-rwx $HOME/.ssh - chmod -R go-rwx $HOME/.ssh
- mkdir /.abra/ - mkdir /.abra/