Commit 056ca8dc authored by Thomas Eimers's avatar Thomas Eimers
Browse files

Docu for autossh

parent a13838a4
Pipeline #90377421 passed with stages
in 6 minutes and 53 seconds
......@@ -567,6 +567,9 @@ chsh -s /bin/zsh
[OpenHab Setup Doku](./docs/openhab2-settings/SETUP.md)
## reverse tunnel setup (optional)
[Setup autossh](docs/autossh.md)
## Oberfläche Aufrufen
......
# Remote Zugriff auf Raspberry ohne dyndns und Portfreigabe
- reverse tunnel
- ssh
- autossh
## Auf raspberry
in /etc/rc.local ablegen
```bash
autossh -N -R10000:localhost:22 -i /home/pi/vserver-pi.key -o "ServerAliveInterval 10" -o "ServerAliveCountMax 3" pi@play-mobilos.de
```
## Auf zentralem (öffentlich erreichbarem) Server
Kann man dann via ssh auf den Raspi zugreifen
```bash
ssh pi@localhost -p10000
```
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment