Strumenti Utente

Strumenti Sito


reachme

Differenze

Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.

Link a questa pagina di confronto

Prossima revisione
Revisione precedente
reachme [2015/03/15 19:20] – creata pietroreachme [2024/01/07 12:46] (versione attuale) – 0.7.5 pietro
Linea 1: Linea 1:
 +{{:reachme:reachme_0.7.5_all.deb|Click here to download version 0.7.5 of reachme.}}
 + ({{:reachme:reachme-light_0.7.5_all.deb|Click here}} for the "light" version)
 +
 +{{:reachme:reachthem_0.7.5_all.deb|Click here to download version 0.7.5 of reachthem.}} 
 +
 +
 ===== What is this? ===== ===== What is this? =====
  
Linea 13: Linea 19:
  
 And this is how you use it: And this is how you use it:
-  * **reachme** is ran on **A** +  * **reachme** is run on **A** 
-  * **reachthem** is ran on **C**, sees there is a connection to **A** available, and allows the user of **C** to connect to **A**.+  * **reachthem** is run on **C**, sees there is a connection to **A** available, and allows the user of **C** to connect to **A**.
  
 There is nothing very new or complicated in this: it just uses SSH port forwarding, a classic (and pretty safe) tool. **reachme** and **reachthem** make the process just a bit simpler, in particular if the user of **A** is technically not very sophisticated. There is nothing very new or complicated in this: it just uses SSH port forwarding, a classic (and pretty safe) tool. **reachme** and **reachthem** make the process just a bit simpler, in particular if the user of **A** is technically not very sophisticated.
Linea 21: Linea 27:
  
   * **A** is a computer in your office which you always want to be able to reach from anywhere. Unfortunately, it is behind a NAT. **B** is a server of your company which instead has a public IP.   * **A** is a computer in your office which you always want to be able to reach from anywhere. Unfortunately, it is behind a NAT. **B** is a server of your company which instead has a public IP.
-  * **A** is your boyfriend/girlfriend/mother/grandmother/father/grandfather/sister/brother's((1/2 of this cases were personally tested by the author.)) computer, on which you installed Ubuntu some months ago. Now he/she needs to install a package, and he/she has no idea of how to do. **B** is your cheap VPS somewhere.+  * **A** is your boyfriend/girlfriend/mother/grandmother/father/grandfather/sister/brother's((Half of these cases were personally tested by the author.)) computer, on which you installed Ubuntu some months ago. Now he/she needs to install a package, and he/she has no idea of how to do. **B** is your cheap VPS somewhere.
  
 ===== Here is how you use it, really ===== ===== Here is how you use it, really =====
Linea 32: Linea 38:
    'check_every': '30'}    'check_every': '30'}
  
-  * Install **reachthem** (and **reachme**, on which it depends) on **C** +  * Install **reachthem** (and **reachme**, on which it depends) on **C** (replace "example.com" with the IP or address of **B**) 
-  * Set up SSH keys such that **C** is allowed passwordless access to **A**, and both **A** (with the username mentioned in the above configuration file) and **C** are allowed passwordless access to **B** (this is the only operation which must be done manually on **B**; things may change in the future).+  * Set up SSH keys((Click [[https://www.debian.org/devel/passwordlessssh|here]] if you don't know what this means.)) such that **C** is allowed passwordless access to **A**, and both **A** (with the username mentioned in the above configuration file, //which you will probably want to be an ad-hoc user, with limited rights!//) and **C** are allowed passwordless access to **B** (this is the only operation which must be done manually on **B**; things may change in the future).
   * (Tell your loved one to) start **reachme** on **A**   * (Tell your loved one to) start **reachme** on **A**
   * Start **reachthem** on **B**, and fill the fields **Address** (of **B**) and **Username** (on **B**) (as well as **Sshd port** if it is different than 22). Then retrieve the list of "**Available hosts**". **A** should appear: click on it, and then click **Open shell**   * Start **reachthem** on **B**, and fill the fields **Address** (of **B**) and **Username** (on **B**) (as well as **Sshd port** if it is different than 22). Then retrieve the list of "**Available hosts**". **A** should appear: click on it, and then click **Open shell**
Linea 42: Linea 48:
 Download the above packages for Ubuntu/Debian, or clone the git repo: Download the above packages for Ubuntu/Debian, or clone the git repo:
  
-  git clone git://pietrobattiston.it:reachme+  git clone https://gitlab.com/pbat/reachme.git
  
 (both **reachme** and **reachthem** can be ran from the repo, without installing them). (both **reachme** and **reachthem** can be ran from the repo, without installing them).
Linea 50: Linea 56:
 In order to reach a server at any time, you will presumably want to add a crontab line (with **crontab -e**) such as In order to reach a server at any time, you will presumably want to add a crontab line (with **crontab -e**) such as
  
-   */10 * * * * reachme --daemon +<code> 
 +    */10 * * * * reachme --daemon 
 +</code>
 ===== What doesn't work ===== ===== What doesn't work =====
  
 Currently, probably screen access. Terminal, filesystem access and port forwarding should work. Currently, probably screen access. Terminal, filesystem access and port forwarding should work.
reachme.1426443601.txt.gz · Ultima modifica: 2015/03/15 19:20 da pietro