12 063
правки
(Новая страница: «To maintain remote connections, create a user <code>remote</code> on the server with the shell <code>/bin/false</code>:») |
(Новая страница: «<заранее>команду adduser --Home /для дома/дистанционный --оболочку /bin/false в удаленных и </pre>») |
||
Строка 301: | Строка 301: | ||
To maintain remote connections, create a user <code>remote</code> on the server with the shell <code>/bin/false</code>: | To maintain remote connections, create a user <code>remote</code> on the server with the shell <code>/bin/false</code>: | ||
< | <заранее>команду adduser --Home /для дома/дистанционный --оболочку /bin/false в удаленных и </pre> | ||
В файл <code>/home/remote/.ssh/authorized_keys</code> на сервере добавляем созданный на контроллере ключ <code>/root/.ssh/id_rsa.pub</code> с преамбулой | В файл <code>/home/remote/.ssh/authorized_keys</code> на сервере добавляем созданный на контроллере ключ <code>/root/.ssh/id_rsa.pub</code> с преамбулой |
правки