Remote Service DFU Modus Wartung
Erscheinungsbild
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