Procházet zdrojové kódy

Update 'README.md'

Pierre-Yves Barriat před 8 roky
rodič
revize
d04d16f2cf
1 změnil soubory, kde provedl 27 přidání a 1 odebrání
  1. 27 1
      README.md

+ 27 - 1
README.md

@@ -2,12 +2,38 @@
 
 Troubleshooting for ssh connection
 
+## Getting started
+
+From scratch:
+
+```bash
+touch ~/.Xauthority
+ssh-keygen -t rsa
+```
+
+> type `Enter` twice
+
+```bash
+wget http://www.climate.be:3000/TECLIM/SSH_connection/raw/master/ssh_config
+mv ssh_config .ssh/config
+chmod 600 .ssh/config
+vi .ssh/config
+```
+
+> type `:%s/jsmith/your_username/g` and `:wq`
+
+Import your `id_rsa.ceci` file in `~/.ssh/config`
+
+```bash
+ssh-copy-id -i ~/.ssh/id_rsa.pub www.climate.be
+```
+
 ## Install
 
 First, clone the `TECLIM/SSH_connection` repository. For instance:
 
 ```
-git clone ssh://git@www.climate.be:3022/TECLIM/SSH_connection.git
+git clone ssh://regit@www.climate.be:3022/TECLIM/SSH_connection.git
 ```
 
 Then, go to the repository, open & adapt the `install.sh` script: you must change the password!