|
|
@@ -2,28 +2,47 @@
|
|
|
|
|
|
Troubleshooting for ssh connection
|
|
|
|
|
|
-## Usage
|
|
|
+## Install
|
|
|
|
|
|
First, clone the `TECLIM/SSH_connection` repository. For instance:
|
|
|
+
|
|
|
```
|
|
|
-git clone ssh://git@www.climate.be:3022/pbarriat/TECLIM/SSH_connection.git
|
|
|
+git clone ssh://git@www.climate.be:3022/TECLIM/SSH_connection.git
|
|
|
```
|
|
|
|
|
|
-Now, go to the repository, open & adapt the `install.sh` script: you must change the password!
|
|
|
+Then, go to the repository, open & adapt the `install.sh` script: you must change the password!
|
|
|
You can also change the machine name.
|
|
|
|
|
|
And run it:
|
|
|
+
|
|
|
```bash
|
|
|
cd SSH_connection
|
|
|
./install.sh
|
|
|
```
|
|
|
-## Hints
|
|
|
|
|
|
-Add your identity on a remote machine:
|
|
|
+Now you can add your identity on a remote machine with:
|
|
|
|
|
|
```bash
|
|
|
ssh-copy-id -i ~/.ssh/id_rsa.pub remote_machine
|
|
|
```
|
|
|
+
|
|
|
+## Usage
|
|
|
+
|
|
|
+A few examples:
|
|
|
+
|
|
|
+```bash
|
|
|
+# from local elic network
|
|
|
+ssh ozone
|
|
|
+rsync -av my_folder ozone:~
|
|
|
+git clone ssh://egit/TECLIM/Git_Training
|
|
|
+
|
|
|
+# from outside
|
|
|
+ssh ozone%gwelic
|
|
|
+ssh lemaitre2%gwcism
|
|
|
+rsync -av my_folder ozone%gwelic:~
|
|
|
+git clone ssh://regit/TECLIM/Git_Training
|
|
|
+```
|
|
|
+
|
|
|
## Contributors
|
|
|
|
|
|
- ELIC members [@pbarriat](http://www.climate.be:3000/pbarriat)
|