diff --git a/shellscripts/gitsshwrapper.sh b/shellscripts/gitsshwrapper.sh
index 201c2c9f17feb96f98f24720cf14963383cc8738..0643f535ae57200d880a9ee2d214de180c4d346e 100644
--- a/shellscripts/gitsshwrapper.sh
+++ b/shellscripts/gitsshwrapper.sh
@@ -10,5 +10,5 @@ if [ -z "$PKEY" ]; then
     # if PKEY is not specified, run ssh using default keyfile
     ssh "$@"
 else
-    ssh -i "$PKEY" "$@"
+    ssh -i ${PKEY} "$@"
 fi
\ No newline at end of file