new parameter PLUGIN_SSH_ACCEPT_RSA
This commit is contained in:
parent
3c4e54f0dd
commit
70452fab5c
@ -50,6 +50,10 @@ else
|
|||||||
PLUGIN_AUTO_CONFIRM="false"
|
PLUGIN_AUTO_CONFIRM="false"
|
||||||
fi
|
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_EXCLUDE_STR=""
|
||||||
PLUGIN_INCLUDE_STR=""
|
PLUGIN_INCLUDE_STR=""
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user