Browse Source

Updated read me cause of new server

Joachim M. Giæver 6 years ago
parent
commit
7dc04e43d2
1 changed files with 17 additions and 3 deletions
  1. 17 3
      README.md

+ 17 - 3
README.md

@@ -1,9 +1,11 @@
 Short how to
 ===
 
-* Get access to an account. If you want one, send me an email at joachim```... something ...```giaever.org.
+* Get access to an account. If you want (need) one, send me an email at ```joachim<...something ...>giaever.org```.
 
-# THIS IS OUT-DATED
+*NOTE!* Regards to a new server and a new setup you will have to alter all of your existing ```./git/config``` to use the user ```git.giaever.org@git.giaever.org``` instead of ```giaever@git.giaever.org```.
+
+# New things...
 Regards to the change in software where we now support https and ssh with git, and every repository is managed on-site and not back-end through XML-RPC anymore. BY NOW: Use it as you would have used GitHub, and if you're stuck - search for it on Google. Happy go lucky!
 
 ## Where's my old repos?
@@ -20,7 +22,7 @@ Yes you do, so please follow the steps:
 ```vim
 Host git.giaever.org
     HostName git.giaever.org
-    User giaever
+    User git.giaever.org
     IdentityFile <my ssh key file>
 ```
 
@@ -28,6 +30,18 @@ Host git.giaever.org
 * Now print your public key: `$ cat <my ssh key file>.pub`
 * Copy the printed content and paste that text where you [add your key](https://git.giaever.org/user/settings/ssh) (login required) by pressing CTRL+v. Please give the key a good description as you may have several keys on different computers.
 
+Test your configuration, do:
+```
+$ ssh git.giaever.org@git.giaever.org
+```
+and ensure you get a response like:
+```
+PTY allocation request failed on channel 0
+Hi there, You've successfully authenticated, but Gogs does not provide shell access.
+If this is unexpected, please log in with password and setup Gogs under another user.
+Connection to git.giaever.org closed.
+```
+
 # Outdated info:
 * Clone your repo, to your local disk (```note``` the extra /git-directory):
 ```