From: Dmitry Lebkov <dima@sakhalin.ru> To: community@altlinux.ru Subject: Re: [Comm] sshd Date: Thu, 9 Jan 2003 01:34:34 +1000 Message-ID: <20030109013434.61932ecd.dima@sakhalin.ru> (raw) In-Reply-To: <3E1C403B.8060207@iop.kiev.ua> 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] После адреса хоста можно указать порт, на котором слушать. В качестве разделителя используется ':', т.е. параметр: ListenAddress 10.0.0.1:2222 укажет ssh-демону слушать порт 2222 на адресе 10.0.0.1. Естественно, данный адрес долже быть поднят на одном из интерфейсов/алиасов. :) Директиву ListenAddress можно использовать несколькораз для указания нескольких ip-адресов и/или портов. Вот вроде бы так ... -- WBR, Dmitry Lebkov
next prev parent reply other threads:[~2003-01-08 15:34 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 [this message] 2003-01-08 15:41 ` Dmitry Lebkov 2003-01-08 15:49 ` Andriy Dobrovol's'kii 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=20030109013434.61932ecd.dima@sakhalin.ru \ --to=dima@sakhalin.ru \ --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