Editing Reverse ssh
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
- | Reverse SSH is a term describing a method to connect | + | Reverse SSH is a term describing a method to connect to a destination host, when it is actually the host that is initiating the connection to a middle server. |
== Rationale == | == Rationale == | ||
Line 35: | Line 35: | ||
== Scripts & Files == | == Scripts & Files == | ||
- | + | * [[Image:Reverse_ssh.sh]] - This file should be located in <code>/usr/share</code>, you also need to edit it with the correct ports and hostname. | |
- | + | * [[Image:Reverse ssh stop.sh]] - This file should also be in <code>/usr/share</code>. | |
- | + | * [[Image:Reverse ssh if down.sh]] - This file should be in <code>/etc/network/if-down.d/</code> - After copying this file, remove the .sh extension. | |
- | + | * [[Image:Reverse ssh if up.sh]] - This file should be in <code>/etc/network/if-up.d/</code> - After copying this file, remove the .sh extension. | |
- | + | * '''All files need to have executable permissions, I usually just do "chmod 777 <filename>" - But I reckon that it is not very secure, so someone please clarify the minimum level of permissions needed.''' | |
- | This file should be located in <code>/usr/share</code>, you also need to edit it with the correct ports and hostname. | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | This file should also be in <code>/usr/share</code>. | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | This file should be in <code>/etc/network/if-down.d/</code> | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | This file should be in <code>/etc/network/if-up.d/</code> | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | < | + | |
== Warnings == | == Warnings == |
Learn more about Contributing to the wiki.