8 lines
200 B
Bash
8 lines
200 B
Bash
|
#!/bin/sh -e
|
||
|
|
||
|
apk add openssh-client
|
||
|
mkdir -p $HOME/.ssh
|
||
|
ssh-keyscan -t ed25519 turtle.hup.is >> $HOME/.ssh/known_hosts
|
||
|
echo "$DEPLOY_SSH_KEY" > $HOME/.ssh/id_ed25519
|
||
|
chmod 0600 $HOME/.ssh/id_ed25519
|