diff options
| author | Druid520 <r.ustydruid520@proton.me> | 2026-08-15 17:37:34 -0700 |
|---|---|---|
| committer | Druid520 <r.ustydruid520@proton.me> | 2026-08-15 17:37:34 -0700 |
| commit | 1900894217b041b25f2bd759769c5fd50778c0a5 (patch) | |
| tree | ebc33eb5f05beac622d6059588e301d79d3fc2ce /git.html | |
| parent | d83ed2bc5c70079dccfe6f6eda7909cf6e27dcb4 (diff) | |
MOD: upd.
Diffstat (limited to 'git.html')
| -rw-r--r-- | git.html | 17 |
1 files changed, 5 insertions, 12 deletions
| diff --git a/git.html b/git.html index acf054a..7ad7d70 100644 --- a/git.html +++ b/git.html | |||
| @@ -16,23 +16,16 @@ | |||
| 16 | <p>clone and push over ssh (accounts only):</p> | 16 | <p>clone and push over ssh (accounts only):</p> |
| 17 | <pre>git clone git:druid520/site.git</pre> | 17 | <pre>git clone git:druid520/site.git</pre> |
| 18 | <p>accounts get ssh commands too:</p> | 18 | <p>accounts get ssh commands too:</p> |
| 19 | <pre>ssh git mk <repo> | 19 | <pre>ssh git mk repo |
| 20 | ssh git desc <repo> "description" | 20 | 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/key |
| 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> |
