summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--git.html11
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"
21ssh git perms <repo> +WRITERS <user> 21ssh git perms <repo> +WRITERS <user>
22ssh git ls</pre> 22ssh 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
31Host 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>