ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Andriy Dobrovol's'kii" <dobr@iop.kiev.ua>
To: community@altlinux.ru
Subject: Re: [Comm] sshd
Date: Wed, 08 Jan 2003 17:49:18 +0200
Message-ID: <3E1C487E.9040403@iop.kiev.ua> (raw)
In-Reply-To: <20030109013434.61932ecd.dima@sakhalin.ru>

Dmitry Lebkov пишет:
> On Wed, 08 Jan 2003 17:14:03 +0200
> "Andriy Dobrovol's'kii" <dobr@iop.kiev.ua> wrote:
> 
> 
>>Hi,
>>Возникла необходимость настроить в sshd ограничение на 
>>прослушиваемые хосты. В man указание на параметр AllowHosts 
>>отсутствует. При его добавлении в конфиг sshd просто рушится.
> 
> 
> Используй /etc/host.{allow|deny} для контроля тех, кому разрешен
> доступ по ssh.
> 
> 
>>Как это сделать? И какой формат записи для ListenAddress? Из 
>>указанной в man абракадабры не понял. :(
> 
> 
> Там же все прозрачно:
> 
> ListenAddress host|IPv4_addr|IPv6_addr ==
>   ListenAddress hostname.domain.tld или
>   ListenAddress 10.0.0.1 или
>   ListenAddress [в формате IPv6]
>
То есть, это замена AllowHosts? Нужно указать именно один адрес, 
диапазон нельзя?

> После адреса хоста можно указать порт, на котором слушать. В качестве
> разделителя используется ':', т.е. параметр:
> 
> ListenAddress 10.0.0.1:2222
> 
> укажет ssh-демону слушать порт 2222 на адресе 10.0.0.1. Естественно,
> данный адрес долже быть поднят на одном из интерфейсов/алиасов. :)
> Директиву ListenAddress можно использовать несколькораз для указания
> нескольких ip-адресов и/или портов.
> 
> Вот вроде бы так ...
> 
Ммм... Это не очень вяжется с указанием хоста. Или хост можно 
указать только его собственный? Тогда это не замена... Почему же 
стандартно там прописано 0.0.0.0?
> 
> --
> WBR, Dmitry Lebkov
> 


-- 
Rgrds,
Andriy
*********************************************************************
email: dobr at iop dot kiev dot ua               Kyiv, Ukraine
Phone: (380-44)   265-7824               Department of Gas Electronics
Fax:   (380-44)   265-2329                Institute of Physics of NASU
*********************************************************************



  parent reply	other threads:[~2003-01-08 15:49 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-08 15:14 Andriy Dobrovol's'kii
2003-01-08 15:34 ` Dmitry Lebkov
2003-01-08 15:41   ` Dmitry Lebkov
2003-01-08 15:49   ` Andriy Dobrovol's'kii [this message]
2003-01-08 17:07     ` Sergey Vlasov
2003-01-08 17:10     ` Dmitry Lebkov
2003-01-09  9:02       ` Andriy Dobrovol's'kii
2003-01-09  9:20         ` Dmitry Lebkov
2003-01-09 11:09           ` Andriy Dobrovol's'kii
2003-01-09 23:01             ` Dmitry Lebkov
2003-01-10  7:47               ` Dmytro O. Redchuk
2003-01-10 12:17                 ` Dmitry Lebkov
2003-01-15 16:49       ` Andriy Dobrovol's'kii
2003-01-15 23:48         ` Dmitry Lebkov
2003-01-09  7:36 ` Dmytro O. Redchuk
2003-01-09  8:52   ` Andriy Dobrovol's'kii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E1C487E.9040403@iop.kiev.ua \
    --to=dobr@iop.kiev.ua \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git