Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
ssh -pPORTNUMMER localhost


Warning

Auf Parad0x läuft ein Fail2Ban-Dienst. Wenn es eine Fehlkonfiguration gab, ist die IP vielleicht blockiert. Im fail2ban-client nachsehen.

Vorlage systemd-Dienstdatei

...

Code Block
[Unit]
Description=AutoSSH reverse tunnel service for parad0x.ffmsl.de 26662 -> 22
After=network.target

[Service]
Environment="AUTOSSH_GATETIME=0"
ExecStart=/usr/bin/autossh -M 0 -o "ExitOnForwardFailure=yes" -o "ServerAliveInterval 30" -o "ServerAliveCountMax 3" -NR 26662:127.0.0.1:22 reverse@parad0x.servers.freifunk-muensterland.de -i /root/.ssh/id_rsa -o "StrictHostKeyChecking=no" -o "UserKnownHostsFile=/dev/null"

[Install]
WantedBy=multi-user.target

...