Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jbowdre committed Oct 22, 2024
1 parent 7282178 commit 7ddce78
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion content/posts/gitea-self-hosted-git-server/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
```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
ssh -p 2222 -o StrictHostKeyChecking=no git@127.0.0.1 "SSH_ORIGINAL_COMMAND=\"$SSH_ORIGINAL_COMMAND\" $0 $@"
EOF
Expand Down

0 comments on commit 7ddce78

Please sign in to comment.