This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
управление_сервисами_в_linux [2023/06/01 13:55] val [Скрипты запуска/остановки] |
управление_сервисами_в_linux [2023/06/01 13:55] (current) val [Система загрузки rc.local] |
||
---|---|---|---|
Line 36: | Line 36: | ||
#!/bin/sh | #!/bin/sh | ||
- | /usr/bin/ssh -N -R 200X:localhost:22 userX@gate.isp.un & | + | /usr/bin/ssh -N -R 61000+X:localhost:22 -o ServerAliveInterval=60 -o ExitOnForwardFailure=yes userX@gate.isp.un & |
exit 0 | exit 0 |