<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Смена порта в sshd]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=5050&amp;type=atom" />
	<updated>2010-08-07T18:39:33Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=5050</id>
		<entry>
			<title type="html"><![CDATA[Re: Смена порта в sshd]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=77390#p77390" />
			<content type="html"><![CDATA[<p>не писал<br /></p><div class="quotebox"><cite>Hrafn пишет:</cite><blockquote><p>SELinux включен?</p></blockquote></div><div class="quotebox"><cite>demonust пишет:</cite><blockquote><p>да</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[demonust]]></name>
				<uri>https://linuxforum.ru/profile.php?id=8681</uri>
			</author>
			<updated>2010-08-07T18:39:33Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=77390#p77390</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Смена порта в sshd]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=77235#p77235" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>demonust пишет:</cite><blockquote><p>Оказывается, проще не бывает </p><p>#/usr/sbin/semanage port -a -t ssh_port_t -p tcp 1234</p></blockquote></div><p>а написали, что SELinux выключен</p>]]></content>
			<author>
				<name><![CDATA[Hrafn]]></name>
			</author>
			<updated>2010-08-07T07:19:23Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=77235#p77235</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Смена порта в sshd]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=77206#p77206" />
			<content type="html"><![CDATA[<p>Оказывается, проще не бывает </p><p>#/usr/sbin/semanage port -a -t ssh_port_t -p tcp 1234</p>]]></content>
			<author>
				<name><![CDATA[demonust]]></name>
				<uri>https://linuxforum.ru/profile.php?id=8681</uri>
			</author>
			<updated>2010-08-06T21:41:18Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=77206#p77206</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Смена порта в sshd]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=70619#p70619" />
			<content type="html"><![CDATA[<p>да</p>]]></content>
			<author>
				<name><![CDATA[demonust]]></name>
				<uri>https://linuxforum.ru/profile.php?id=8681</uri>
			</author>
			<updated>2010-07-14T09:26:16Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=70619#p70619</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Смена порта в sshd]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=70617#p70617" />
			<content type="html"><![CDATA[<p>SELinux включен?</p>]]></content>
			<author>
				<name><![CDATA[Hrafn]]></name>
			</author>
			<updated>2010-07-14T09:23:58Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=70617#p70617</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Смена порта в sshd]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=70615#p70615" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Hrafn пишет:</cite><blockquote><p>посмотрите логи в messages после перезапуска sshd</p></blockquote></div><p>Jul 14 15:22:13 error kernel: type=1400 audit(1279099333.502:20348): avc:&nbsp; denied&nbsp; { name_bind } for&nbsp; pid=3681 comm=&quot;sshd&quot; src=667 scontext=unconfined_u:system_r:sshd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:hi_reserved_port_t:s0 tclass=tcp_socket</p><p>в /etc/ssh/sshd_confi&nbsp; прописал Port 667</p>]]></content>
			<author>
				<name><![CDATA[demonust]]></name>
				<uri>https://linuxforum.ru/profile.php?id=8681</uri>
			</author>
			<updated>2010-07-14T09:22:35Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=70615#p70615</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Смена порта в sshd]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=70611#p70611" />
			<content type="html"><![CDATA[<p>пробовал с разным регистром. У меня рядом 2 компа с 12 федорой: на одном всё нормально, а вот на втором никак не получается сделать. Пробовал перекидыать&nbsp; /etc/ssh/sshd_confi - ничего не изменилось</p>]]></content>
			<author>
				<name><![CDATA[demonust]]></name>
				<uri>https://linuxforum.ru/profile.php?id=8681</uri>
			</author>
			<updated>2010-07-14T09:18:50Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=70611#p70611</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Смена порта в sshd]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=70610#p70610" />
			<content type="html"><![CDATA[<p>посмотрите логи в messages после перезапуска sshd</p>]]></content>
			<author>
				<name><![CDATA[Hrafn]]></name>
			</author>
			<updated>2010-07-14T09:18:40Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=70610#p70610</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Смена порта в sshd]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=70590#p70590" />
			<content type="html"><![CDATA[<p>Я просто прописал строчку <br />Port 23 И перезапустил ssh<br />Может буть регистр нарушил?</p>]]></content>
			<author>
				<name><![CDATA[vint]]></name>
				<uri>https://linuxforum.ru/profile.php?id=308</uri>
			</author>
			<updated>2010-07-14T08:49:47Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=70590#p70590</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Смена порта в sshd]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=70580#p70580" />
			<content type="html"><![CDATA[<p>как поменять порт с 22 на другой, если в /etc/ssh/sshd_config прописать другой порт, то sshd перестаёт запускаться?</p><p># service sshd restart<br />Останавливается sshd:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: green"> [&nbsp; OK&nbsp; ]</span><br />Запускается sshd:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: green"> [&nbsp; OK&nbsp; ]</span></p><p>вроде перезапустился, но если попытаться ещ0 раз:<br /># service sshd restart<br />Останавливается sshd:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: red">[СБОЙ ]</span><br />Запускается sshd:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: green"> [&nbsp; OK&nbsp; ]</span></p><p>пробовал ковырнуть в сторону selinux, но ничего не смог найти.</p>]]></content>
			<author>
				<name><![CDATA[demonust]]></name>
				<uri>https://linuxforum.ru/profile.php?id=8681</uri>
			</author>
			<updated>2010-07-14T08:28:13Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=70580#p70580</id>
		</entry>
</feed>
