fix formatting

This commit is contained in:
John Bowdre 2024-10-21 22:28:06 -05:00
parent 728217838d
commit 7ddce78b66
Signed by: john
SSH key fingerprint: SHA256:cZYnOxaLdo+MhBNMX38ihO/p2Kek6fBykSFoJwHBhUo

View file

@ -160,7 +160,8 @@ No users have added their keys to Gitea just yet so if you look at `/home/git/.s
So I'll go ahead and create that extra command: So I'll go ahead and create that extra command:
```shell ```shell
cat <<"EOF" | sudo tee /usr/local/bin/gitea # [tl! .cmd] # [tl! .cmd:1,1]
cat <<EOF | sudo tee /usr/local/bin/gitea
#!/bin/sh #!/bin/sh
ssh -p 2222 -o StrictHostKeyChecking=no git@127.0.0.1 "SSH_ORIGINAL_COMMAND=\"$SSH_ORIGINAL_COMMAND\" $0 $@" ssh -p 2222 -o StrictHostKeyChecking=no git@127.0.0.1 "SSH_ORIGINAL_COMMAND=\"$SSH_ORIGINAL_COMMAND\" $0 $@"
EOF EOF