Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
projects:ssh_reverse_tunnel [2016/06/08 19:29]
over23 [ALIVE] Reverse SSH Tunnel - nice CC tunnel picture added
projects:ssh_reverse_tunnel [2016/06/09 13:41]
over23 [ALIVE] Reverse SSH Tunnel - link to key change on Picka
Line 4: Line 4:
 |**Related:​**| [[project:​single_boards|[Project Single Boards]]]| |**Related:​**| [[project:​single_boards|[Project Single Boards]]]|
 |**References:​**|[[http://​www.tunnelsup.com/​raspberry-pi-phoning-home-using-a-reverse-remote-ssh-tunnel]]| |**References:​**|[[http://​www.tunnelsup.com/​raspberry-pi-phoning-home-using-a-reverse-remote-ssh-tunnel]]|
-|**Materials:​**| dynamic IP device aka PICKA, static IP device aka RemoteHost, ssh able to connect between devices by keys|+|**Materials:​**| dynamic IP device aka PICKA, static IP device aka RemoteHost, ​[[project:​single_boards#​remove_password_to_ssh|ssh able to connect between devices by keys]]|
 |**THX to:**| thx to:  Jack Rhysider; @TunnelsUp; http://​www.tunnelsup.com/​raspberry-pi-phoning-home-using-a-reverse-remote-ssh-tunnel | |**THX to:**| thx to:  Jack Rhysider; @TunnelsUp; http://​www.tunnelsup.com/​raspberry-pi-phoning-home-using-a-reverse-remote-ssh-tunnel |
 |**License:​** | [[https://​creativecommons.org/​licenses/​by-sa/​3.0/​|CC Attribution-Share Alike 3.0 Unported]] ​ |  ​ |**License:​** | [[https://​creativecommons.org/​licenses/​by-sa/​3.0/​|CC Attribution-Share Alike 3.0 Unported]] ​ |  ​
Line 17: Line 17:
   * we have **RemoteHost**,​ that we can see from anywhere and Picka is able to SSH to that server   * we have **RemoteHost**,​ that we can see from anywhere and Picka is able to SSH to that server
   * we will build ssh tunnel from **Picka** to **RemoteHost**   * we will build ssh tunnel from **Picka** to **RemoteHost**
-  * RemoteHost and Picka should be able to reach each other by certificate,​ not by passwd+  * [[project:​single_boards#​remove_password_to_ssh|RemoteHost and Picka should be able to reach each other by certificate,​ not by passwd]]
  
 ==== on Picka do ==== ==== on Picka do ====
Line 26: Line 26:
  
 **explanation of parameters of tunnel:** **explanation of parameters of tunnel:**
-  ​ssh - shell command + ssh - shell command 
-  -N do not execute anything when connection successful + -N do not execute anything when connection successful 
-  -R bind port 22 on remote server [192.168.1.1] to 2222 + -R bind port 22 on remote server [192.168.1.1] to 2222 
  
 ==== so now connect to RemoteHost and ====  ==== so now connect to RemoteHost and ==== 
  • projects/ssh_reverse_tunnel.txt
  • Last modified: 2016/06/10 00:29
  • by over23