diff options
Diffstat (limited to 'f3s/forgejo/README.md')
| -rw-r--r-- | f3s/forgejo/README.md | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/f3s/forgejo/README.md b/f3s/forgejo/README.md index 9758b29..70e6133 100644 --- a/f3s/forgejo/README.md +++ b/f3s/forgejo/README.md @@ -112,10 +112,26 @@ just create-admin # HTTPS git clone https://code.f3s.buetow.org/<user>/<repo>.git -# SSH (NodePort; LAN only unless you forward it) +# SSH, from anywhere -- relayd listens on 2022 and TCP-forwards to the NodePort +git clone ssh://git@code.f3s.buetow.org:2022/<user>/<repo>.git + +# SSH direct to a node, bypassing the gateways (LAN only) git clone ssh://git@r0.lan.buetow.org:30222/<user>/<repo>.git ``` +Port 2022 rather than 22 keeps the forge away from the mass scanning the default +port attracts; 2222 was unavailable, dserver (DTail) already uses it on the +gateways. To administer blowfish/fishfinger, SSH is on port 2 as usual. + +To use the short `git@code.f3s.buetow.org:user/repo.git` form, put the port in +`~/.ssh/config`: + +``` +Host code.f3s.buetow.org + Port 2022 + User git +``` + ## Operations ```sh |
