12 063
правки
(Новая страница: «Startup of the OpenVPN service on the controller is enabled by the command: <pre>update-rc.d openvpn defaults</pre> Check server availability <code>ping 10.8.0…») |
(Новая страница: «Another fallback controller connection will be based on the <code>AutoSSH</code>. The mechanism of work is as follows: SSH-connection from the controller to the s…») |
||
Строка 293: | Строка 293: | ||
== AutoSSH == | == AutoSSH == | ||
Another fallback controller connection will be based on the <code>AutoSSH</code>. The mechanism of work is as follows: SSH-connection from the controller to the server is established, and the ssh-port of the controller is forwarded to one of the free ports on the localhost server. Service аutossh ensures that the ssh connection is not broken, and in case of the gap restores it. Recovery is not instantaneous — for a while, the port used on the server's <code>localhost</code> is held by the <code>sshd</code>daemon. | |||
Устанавливаем на контроллере <code>apt-get install autossh</code>. Генерируем пару ключей для пользователя <code>root</code>: | Устанавливаем на контроллере <code>apt-get install autossh</code>. Генерируем пару ключей для пользователя <code>root</code>: |
правки