More in the README
This commit is contained in:
parent
a4b51c0cf1
commit
813ed11a3b
14
README.md
14
README.md
@ -0,0 +1,14 @@
|
||||
# README
|
||||
|
||||
To set this up, I needed to do `git config core.sshcommand "ssh -p 222 -i ~/.ssh/id_rsa"`. For more info, check out https://medium.com/@dubry/git-server-setup-non-standard-ssh-port-part-2-e4961803bcfb
|
||||
|
||||
You may also want to update `~/.ssh/config` to just include settings for the domain:
|
||||
|
||||
```
|
||||
Host <your-hostname>
|
||||
HostName <your-hostname>
|
||||
Port 2222
|
||||
User <your-gitea-user>
|
||||
IdentityFile <private-key-path>
|
||||
|
||||
```
|
||||
Loading…
x
Reference in New Issue
Block a user