Skip to content
Snippets Groups Projects
Commit c08c0ae1 authored by hahn's avatar hahn
Browse files

git wrapper: do not check hosts

parent 9e2f562a
Branches
No related tags found
1 merge request!195534 add docker
......@@ -6,9 +6,12 @@
# gitwrapperssh.sh [keyfile] [command]
#
# sshparams=
sshparams="-o StrictHostKeyChecking=no"
if [ -z "$PKEY" ]; then
# if PKEY is not specified, run ssh using default keyfile
ssh "$@"
ssh "${sshparams}" "$@"
else
ssh -i ${PKEY} "$@"
ssh "${sshparams}" -i ${PKEY} "$@"
fi
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment