Reverse-ssh.service: Skirtumas tarp puslapio versijų
Jump to navigation
Jump to search
(Naujas puslapis: * Forward local port 22 to remote server port 5000 * Server is host.org with ssh port 1022 <syntaxhighlight lang="text"> [Unit] Description=AutoSSH tunnel service for ssh...) |
(Jokio skirtumo)
|
Dabartinė 13:13, 26 balandžio 2021 versija
- Forward local port 22 to remote server port 5000
- Server is host.org with ssh port 1022
[Unit]
Description=AutoSSH tunnel service for ssh
After=network.target
[Service]
Environment="AUTOSSH_GATETIME=0"
ExecStart=/usr/bin/autossh -M 0 -o "ServerAliveInterval 30" -o "ServerAliveCountMax 3" -N -R 5000:localhost:22 [email protected] -p 1022
[Install]
WantedBy=multi-user.target