This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
сервис_ssh [2026/09/15 12:25] val [Настройка ssh клиента] |
сервис_ssh [2026/09/17 14:53] (current) val [Настройка ssh сервера] |
||
|---|---|---|---|
| Line 50: | Line 50: | ||
| ===== Настройка ssh сервера ===== | ===== Настройка ssh сервера ===== | ||
| <code> | <code> | ||
| + | gate# less /etc/ssh/sshd_config | ||
| + | </code><code> | ||
| + | ... | ||
| + | #PermitRootLogin prohibit-password | ||
| + | ... | ||
| + | Include /etc/ssh/sshd_config.d/*.conf | ||
| + | ... | ||
| + | </code><code> | ||
| gate# cat /etc/ssh/sshd_config.d/my.conf | gate# cat /etc/ssh/sshd_config.d/my.conf | ||
| </code><code> | </code><code> | ||