new parameter PLUGIN_SSH_ACCEPT_RSA

This commit is contained in:
Gottfried Mayer 2022-08-05 17:55:07 +02:00 committed by GitHub
parent 3c4e54f0dd
commit 70452fab5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,6 +50,10 @@ else
PLUGIN_AUTO_CONFIRM="false"
fi
if [ "$PLUGIN_SSH_ACCEPT_RSA" = true ]; then
echo "HostKeyAlgorithms ssh-rsa" > ~/.ssh/config && echo "PubkeyAcceptedKeyTypes ssh-rsa" >> ~/.ssh/config && chmod 600 ~/.ssh/config
fi;
PLUGIN_EXCLUDE_STR=""
PLUGIN_INCLUDE_STR=""