git init local cp file.txt local/file.txt git -C local add file.txt git -C local commit -m initial mugit repo new ssh-push exec env GIT_SSH_COMMAND=$SSH_WRAPPER git -C local push git@localhost:ssh-push.git master exec git clone $MURL/ssh-push verify-clone exists verify-clone/file.txt exec cat verify-clone/file.txt stdout 'hello from ssh' # should not allow execution of commands ! exec $SSH_WRAPPER ignored 'echo hi' stderr 'access denied:' -- file.txt -- hello from ssh