Remote Service DFU Modus Wartung: Unterschied zwischen den Versionen
Erscheinungsbild
Keine Bearbeitungszusammenfassung |
|||
| Zeile 1: | Zeile 1: | ||
==Rückverbindung== | ==Rückverbindung== | ||
ssh localhost -p 19999 | ssh localhost -p 19999 | ||
| Zeile 15: | Zeile 15: | ||
==Rückverbindung== | ==Rückverbindung== | ||
ssh localhost -p 19999 | ssh localhost -p 19999 | ||
=Installation= | =Installation= | ||
Version vom 20. März 2017, 13:56 Uhr
Rückverbindung
ssh localhost -p 19999
Create Key
ssh-keygen -t rsa ssh-copy-id -i ~/.ssh/id_rsa.pub simon@rz.zeberliedv.ch -p "5984"
open tunnel
ssh -R 19999:localhost:22 simon@rz.zeberliedv.ch -p "5984"
Testing
ssh -p '5984' 'simon@rz.zeberliedv.ch'
Rückverbindung
ssh localhost -p 19999
Installation
Auto SSH installieren
sudo apt-get install autossh
SSH Konfig als Gateway
sudo nano /etc/ssh/sshd_config ClientAliveInterval 3 ClientAliveCountMax 9 GatewayPorts yes AllowTcpForwarding yes