Wirenboard6:InstallingOnTheRemoteSite/en: различия между версиями

Новая страница: «Install on the controller <code>apt-get install autossh</code>. Generate a key pair for the user <code>root</code>: <pre>ssh-keygen </pre> Password is empty.»
(Новая страница: «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…»)
(Новая страница: «Install on the controller <code>apt-get install autossh</code>. Generate a key pair for the user <code>root</code>: <pre>ssh-keygen </pre> Password is empty.»)
Строка 295: Строка 295:
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.  
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>:
Install on the controller <code>apt-get install autossh</code>. Generate a key pair for the user <code>root</code>:
<pre>ssh-keygen </pre>
<pre>ssh-keygen </pre>
Пароль — пустой.
Password is empty.


Для обслуживания удаленных подключений создаем пользователя <code>remote</code> на сервере с оболочкой <code>/bin/false</code>:  
Для обслуживания удаленных подключений создаем пользователя <code>remote</code> на сервере с оболочкой <code>/bin/false</code>:  
12 063

правки