diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d09bd394a3462d40e45641df2236ad2f06a17436..2e716d82ac0faa5f4e903486c4d58f214b611886 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -13,4 +13,4 @@ Test SSH:
     script:
     - scp testscript.sh $USER_NAME:~/testscript/testscript.sh
     - scp testscript.sh $USER_NAME:~/testscript/helloworld.c
-    - ssh $USER_NAME "chmod 700 testscript/helloworld.c && chmod 700 testscript/testscript.sh && testscript/testscript.sh"
+    - ssh $USER_NAME "cd testscript && chmod 700 testscript/testscript.sh && ./testscript.sh"