Attempt to support issues with newer SSH clients
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
e9538a63eb
commit
a24ca3ccd2
|
@ -53,6 +53,12 @@ load_deploy_key() {
|
|||
mkdir -p "$HOME/.ssh/"
|
||||
ssh-keyscan -p "$PLUGIN_PORT" "$PLUGIN_HOST" > "$HOME/.ssh/known_hosts"
|
||||
|
||||
cat << EOF > "$HOME/.ssh/config"
|
||||
Host *
|
||||
HostKeyAlgorithms ssh-rsa-cert-v01@openssh.com
|
||||
PubkeyAcceptedAlgorithms +ssh-rsa-cert-v01@openssh.com
|
||||
EOF
|
||||
|
||||
# shellcheck disable=SC2046,SC2006
|
||||
eval `ssh-agent`
|
||||
echo "$PLUGIN_DEPLOY_KEY" | ssh-add -
|
||||
|
|
Loading…
Reference in New Issue