<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>https://8j0rn.dagbok.ru/history/QNAP_NAS:Entware:SSH?feed=atom</id>
	<title>QNAP NAS:Entware:SSH - История изменений</title>
	<link rel="self" type="application/atom+xml" href="https://8j0rn.dagbok.ru/history/QNAP_NAS:Entware:SSH?feed=atom"/>
	<link rel="alternate" type="text/html" href="https://8j0rn.dagbok.ru/history/QNAP_NAS:Entware:SSH"/>
	<updated>2026-10-26T19:44:33Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://8j0rn.dagbok.ru/index.php?title=QNAP_NAS:Entware:SSH&amp;diff=125&amp;oldid=prev</id>
		<title>Admin в 17:18, 8 февраля 2024</title>
		<link rel="alternate" type="text/html" href="https://8j0rn.dagbok.ru/index.php?title=QNAP_NAS:Entware:SSH&amp;diff=125&amp;oldid=prev"/>
		<updated>2024-02-08T17:18:56Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Предыдущая версия&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Версия от 20:18, 8 февраля 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l5&quot;&gt;Строка 5:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 5:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Для установки требуется [[QNAP_NAS:Entware|Entware]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Для установки требуется [[QNAP_NAS:Entware|Entware]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Команда===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Команда===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;code&lt;/del&gt;&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;# &lt;/del&gt;/opt/bin/opkg install openssh-server&amp;lt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;code&lt;/del&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;syntaxhighlight lang=&quot;bash&quot;&amp;gt; $&lt;/ins&gt;&amp;gt; /opt/bin/opkg install openssh-server&amp;lt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;syntaxhighlight&lt;/ins&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Есть еще дополнительные пакеты:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Есть еще дополнительные пакеты:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l21&quot;&gt;Строка 21:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 21:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Файл конфигурации===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Файл конфигурации===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Находится по адресу:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Находится по адресу:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;code&lt;/del&gt;&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;# &lt;/del&gt;/etc/ssh/sshd_config&amp;lt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;code&lt;/del&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;syntaxhighlight lang=&quot;bash&quot;&amp;gt; $&lt;/ins&gt;&amp;gt; /etc/ssh/sshd_config&amp;lt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;syntaxhighlight&lt;/ins&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Содержит примерно следующее:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Содержит примерно следующее:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;pre style&lt;/del&gt;=&quot;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;color: green&lt;/del&gt;&quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;syntaxhighlight lang&lt;/ins&gt;=&quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;bash&lt;/ins&gt;&quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#	$OpenBSD: sshd_config,v 1.104 2021/07/02 05:11:21 dtucker Exp $&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#	$OpenBSD: sshd_config,v 1.104 2021/07/02 05:11:21 dtucker Exp $&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l147&quot;&gt;Строка 147:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 147:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#AllowGroups «название группы юзверов»&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#AllowGroups «название группы юзверов»&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;AllowUsers «имя юзверя»&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;AllowUsers «имя юзверя»&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;pre&lt;/del&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;syntaxhighlight&lt;/ins&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code style=&amp;quot;color: red&amp;quot;&amp;gt;(После редактирования файла следует перезапустить службу или перезагрузить компьютер)&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code style=&amp;quot;color: red&amp;quot;&amp;gt;(После редактирования файла следует перезапустить службу или перезагрузить компьютер)&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code style=&amp;quot;color: red&amp;quot;&amp;gt;Все настройки делаем на свой страх и риск, ведь это открывает возможность доступа нежелательных личностей к вашей возможно личной информации.&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code style=&amp;quot;color: red&amp;quot;&amp;gt;Все настройки делаем на свой страх и риск, ведь это открывает возможность доступа нежелательных личностей к вашей возможно личной информации.&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://8j0rn.dagbok.ru/index.php?title=QNAP_NAS:Entware:SSH&amp;diff=97&amp;oldid=prev</id>
		<title>Admin: Новая страница: «=Установка и настройка альтернативного SSH на QNAP NAS= SSH из коробки позволяет подключаться лишь с root правами. Это не всегда удобно. Иногда требуется простой «юзверь», а иногда некоторые программки требуют этого строгонастрого. ==Установка:== Для установки т...»</title>
		<link rel="alternate" type="text/html" href="https://8j0rn.dagbok.ru/index.php?title=QNAP_NAS:Entware:SSH&amp;diff=97&amp;oldid=prev"/>
		<updated>2024-02-07T11:13:20Z</updated>

		<summary type="html">&lt;p&gt;Новая страница: «=Установка и настройка альтернативного SSH на QNAP NAS= SSH из коробки позволяет подключаться лишь с root правами. Это не всегда удобно. Иногда требуется простой «юзверь», а иногда некоторые программки требуют этого строгонастрого. ==Установка:== Для установки т...»&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Установка и настройка альтернативного SSH на QNAP NAS=&lt;br /&gt;
SSH из коробки позволяет подключаться лишь с root правами. Это не всегда удобно.&lt;br /&gt;
Иногда требуется простой «юзверь», а иногда некоторые программки требуют этого строгонастрого.&lt;br /&gt;
==Установка:==&lt;br /&gt;
Для установки требуется [[QNAP_NAS:Entware|Entware]]&lt;br /&gt;
===Команда===&lt;br /&gt;
&amp;lt;code&amp;gt;# /opt/bin/opkg install openssh-server&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Есть еще дополнительные пакеты:&lt;br /&gt;
* openssh-client       =&amp;gt; OpenSSH client.&lt;br /&gt;
* openssh-client-utils =&amp;gt; OpenSSH client utilities.&lt;br /&gt;
* openssh-keygen       =&amp;gt; OpenSSH keygen.&lt;br /&gt;
* openssh-moduli       =&amp;gt; OpenSSH server moduli file.&lt;br /&gt;
* openssh-server       =&amp;gt; OpenSSH server.&lt;br /&gt;
* openssh-server-pam   =&amp;gt; OpenSSH server (with PAM support).&lt;br /&gt;
* openssh-sftp-client  =&amp;gt; OpenSSH SFTP client.&lt;br /&gt;
* openssh-sftp-server  =&amp;gt; OpenSSH SFTP server.&lt;br /&gt;
&lt;br /&gt;
Устанавливаются соответствующими командами по необходимости&lt;br /&gt;
&lt;br /&gt;
===Файл конфигурации===&lt;br /&gt;
Находится по адресу:&lt;br /&gt;
&amp;lt;code&amp;gt;# /etc/ssh/sshd_config&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Содержит примерно следующее:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;color: green&amp;quot;&amp;gt;&lt;br /&gt;
#	$OpenBSD: sshd_config,v 1.104 2021/07/02 05:11:21 dtucker Exp $&lt;br /&gt;
&lt;br /&gt;
# This is the sshd server system-wide configuration file.  See&lt;br /&gt;
# sshd_config(5) for more information.&lt;br /&gt;
&lt;br /&gt;
# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin:/opt/bin&lt;br /&gt;
&lt;br /&gt;
# The strategy used for options in the default sshd_config shipped with&lt;br /&gt;
# OpenSSH is to specify options with their default value where&lt;br /&gt;
# possible, but leave them commented.  Uncommented options override the&lt;br /&gt;
# default value.&lt;br /&gt;
&lt;br /&gt;
Include /opt/opt/etc/ssh/sshd_config.d/*.conf&lt;br /&gt;
&lt;br /&gt;
Port «номер порта» (обязательно, чтобы не конфликтовал с основным, или основной следует отключить)&lt;br /&gt;
Protocol 2&lt;br /&gt;
#AddressFamily any&lt;br /&gt;
#ListenAddress 0.0.0.0&lt;br /&gt;
#ListenAddress ::&lt;br /&gt;
&lt;br /&gt;
HostKey /opt/etc/ssh/ssh_host_rsa_key&lt;br /&gt;
#HostKey /opt/etc/ssh/ssh_host_ecdsa_key&lt;br /&gt;
HostKey /opt/etc/ssh/ssh_host_ed25519_key&lt;br /&gt;
&lt;br /&gt;
# Ciphers and keying&lt;br /&gt;
#RekeyLimit default none&lt;br /&gt;
&lt;br /&gt;
# Logging&lt;br /&gt;
SyslogFacility AUTH&lt;br /&gt;
#LogLevel INFO&lt;br /&gt;
&lt;br /&gt;
# Authentication:&lt;br /&gt;
&lt;br /&gt;
#LoginGraceTime 2m&lt;br /&gt;
#PermitRootLogin prohibit-password&lt;br /&gt;
#StrictModes yes&lt;br /&gt;
#MaxAuthTries 6&lt;br /&gt;
#MaxSessions 10&lt;br /&gt;
&lt;br /&gt;
#PubkeyAuthentication yes&lt;br /&gt;
&lt;br /&gt;
# The default is to check both .ssh/authorized_keys and .ssh/authorized_keys2&lt;br /&gt;
# but this is overridden so installations will only check .ssh/authorized_keys&lt;br /&gt;
AuthorizedKeysFile	.ssh/authorized_keys_openssh&lt;br /&gt;
&lt;br /&gt;
#AuthorizedPrincipalsFile none&lt;br /&gt;
&lt;br /&gt;
#AuthorizedKeysCommand none&lt;br /&gt;
#AuthorizedKeysCommandUser nobody&lt;br /&gt;
&lt;br /&gt;
# For this to work you will also need host keys in /opt/etc/ssh/ssh_known_hosts&lt;br /&gt;
#HostbasedAuthentication no&lt;br /&gt;
# Change to yes if you don&amp;#039;t trust ~/.ssh/known_hosts for&lt;br /&gt;
# HostbasedAuthentication&lt;br /&gt;
#IgnoreUserKnownHosts no&lt;br /&gt;
# Don&amp;#039;t read the user&amp;#039;s ~/.rhosts and ~/.shosts files&lt;br /&gt;
#IgnoreRhosts yes&lt;br /&gt;
&lt;br /&gt;
# To disable tunneled clear text passwords, change to no here!&lt;br /&gt;
#PasswordAuthentication yes&lt;br /&gt;
#PermitEmptyPasswords no&lt;br /&gt;
&lt;br /&gt;
# Change to no to disable s/key passwords&lt;br /&gt;
#KbdInteractiveAuthentication yes&lt;br /&gt;
&lt;br /&gt;
# Kerberos options&lt;br /&gt;
#KerberosAuthentication no&lt;br /&gt;
#KerberosOrLocalPasswd yes&lt;br /&gt;
#KerberosTicketCleanup yes&lt;br /&gt;
#KerberosGetAFSToken no&lt;br /&gt;
&lt;br /&gt;
# GSSAPI options&lt;br /&gt;
#GSSAPIAuthentication no&lt;br /&gt;
#GSSAPICleanupCredentials yes&lt;br /&gt;
&lt;br /&gt;
# Set this to &amp;#039;yes&amp;#039; to enable PAM authentication, account processing,&lt;br /&gt;
# and session processing. If this is enabled, PAM authentication will&lt;br /&gt;
# be allowed through the KbdInteractiveAuthentication and&lt;br /&gt;
# PasswordAuthentication.  Depending on your PAM configuration,&lt;br /&gt;
# PAM authentication via KbdInteractiveAuthentication may bypass&lt;br /&gt;
# the setting of &amp;quot;PermitRootLogin prohibit-password&amp;quot;.&lt;br /&gt;
# If you just want the PAM account and session checks to run without&lt;br /&gt;
# PAM authentication, then enable this but set PasswordAuthentication&lt;br /&gt;
# and KbdInteractiveAuthentication to &amp;#039;no&amp;#039;.&lt;br /&gt;
#UsePAM no&lt;br /&gt;
&lt;br /&gt;
#AllowAgentForwarding yes&lt;br /&gt;
#AllowTcpForwarding yes&lt;br /&gt;
#GatewayPorts no&lt;br /&gt;
#X11Forwarding no&lt;br /&gt;
#X11DisplayOffset 10&lt;br /&gt;
#X11UseLocalhost yes&lt;br /&gt;
#PermitTTY yes&lt;br /&gt;
#PrintMotd yes&lt;br /&gt;
#PrintLastLog yes&lt;br /&gt;
#TCPKeepAlive yes&lt;br /&gt;
#PermitUserEnvironment no&lt;br /&gt;
#Compression delayed&lt;br /&gt;
#ClientAliveInterval 0&lt;br /&gt;
#ClientAliveCountMax 3&lt;br /&gt;
#UseDNS no&lt;br /&gt;
PidFile /share/HDA_DATA/.OpenSSH/sshd.pid&lt;br /&gt;
#MaxStartups 10:30:100&lt;br /&gt;
#PermitTunnel no&lt;br /&gt;
#ChrootDirectory none&lt;br /&gt;
#VersionAddendum none&lt;br /&gt;
&lt;br /&gt;
# no default banner path&lt;br /&gt;
Banner /opt/etc/ssh/baner&lt;br /&gt;
&lt;br /&gt;
# override default of no subsystems&lt;br /&gt;
Subsystem	sftp	/opt/lib/sftp-server&lt;br /&gt;
&lt;br /&gt;
# Example of overriding settings on a per-user basis&lt;br /&gt;
#Match User anoncvs&lt;br /&gt;
#	X11Forwarding no&lt;br /&gt;
#	AllowTcpForwarding no&lt;br /&gt;
#	PermitTTY no&lt;br /&gt;
#	ForceCommand cvs server&lt;br /&gt;
&lt;br /&gt;
#AllowGroups «название группы юзверов»&lt;br /&gt;
AllowUsers «имя юзверя»&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code style=&amp;quot;color: red&amp;quot;&amp;gt;(После редактирования файла следует перезапустить службу или перезагрузить компьютер)&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code style=&amp;quot;color: red&amp;quot;&amp;gt;Все настройки делаем на свой страх и риск, ведь это открывает возможность доступа нежелательных личностей к вашей возможно личной информации.&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>