diff options
| author | Druid520 <r.ustydruid520@proton.me> | 2026-08-15 11:15:04 -0700 |
|---|---|---|
| committer | Druid520 <r.ustydruid520@proton.me> | 2026-08-15 11:15:04 -0700 |
| commit | 275bb9f3e1b9dc6a1f0b352e8f1997cbce201b47 (patch) | |
| tree | 63bb5fd32a35f53e69f20f3be7ae78f16faf2ad2 | |
| parent | 3c49fff91bd94b1c3e649ed4fabb7569fa36b34a (diff) | |
MOD: fix git.html
| -rw-r--r-- | git.html | 11 |
1 files changed, 2 insertions, 9 deletions
| diff --git a/git.html b/git.html index 7a2033b..afe3bcc 100644 --- a/git.html +++ b/git.html | |||
| @@ -21,18 +21,11 @@ ssh git desc <repo> "description" | |||
| 21 | ssh git perms <repo> +WRITERS <user> | 21 | ssh git perms <repo> +WRITERS <user> |
| 22 | ssh git ls</pre> | 22 | ssh git ls</pre> |
| 23 | <p>put this in ~/.ssh/config:</p> | 23 | <p>put this in ~/.ssh/config:</p> |
| 24 | <pre>Host serv | 24 | <pre>Host git |
| 25 | HostName 0druid.cc | ||
| 26 | User root | ||
| 27 | Port 3447 | ||
| 28 | IdentityFile ~/.ssh/serv | ||
| 29 | ProxyCommand sh -c "nc -z -w 1 %h 47910; exec nc %h %p" | ||
| 30 | |||
| 31 | Host git | ||
| 32 | HostName git.0druid.cc | 25 | HostName git.0druid.cc |
| 33 | User git | 26 | User git |
| 34 | Port 3447 | 27 | Port 3447 |
| 35 | IdentityFile ~/.ssh/druid | 28 | IdentityFile ~/.ssh/id |
| 36 | ProxyCommand sh -c "nc -z -w 1 %h 47910; exec nc %h %p"</pre> | 29 | ProxyCommand sh -c "nc -z -w 1 %h 47910; exec nc %h %p"</pre> |
| 37 | <p>the serv host is the server itself, it knocks a secret port before ssh answers so scanners see nothing. the git host is the same machine, same deal.</p> | 30 | <p>the serv host is the server itself, it knocks a secret port before ssh answers so scanners see nothing. the git host is the same machine, same deal.</p> |
| 38 | <p>profiles: push a repo named the same as your username (like druid520/druid520) with a profile.png and a readme.djot in it, first line like this:</p> | 31 | <p>profiles: push a repo named the same as your username (like druid520/druid520) with a profile.png and a readme.djot in it, first line like this:</p> |
