From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux general discussion list <community@altlinux.org>
Subject: Re: [Comm] Раздельный доступ к ssh
Date: Mon, 26 Sep 2005 02:52:40 +0400
Message-ID: <20050925225240.GB13183@basalt.office.altlinux.org> (raw)
In-Reply-To: <200509250050.09568.lav@altlinux.ru>
[-- Attachment #1: Type: text/plain, Size: 847 bytes --]
On Sun, Sep 25, 2005 at 12:50:09AM +0400, Vitaly Lipatov wrote:
> On Saturday 24 September 2005 23:48, Dmitry V. Levin wrote:
> > On Fri, Sep 23, 2005 at 07:58:48PM +0400, Vitaly Lipatov wrote:
> > > Есть потребность иметь разные настройки для ssh при
> > > обращении из локальной сети и глобальной.
> ...
> > Не обязательно на другом порту, можно на другой адрес
> > прицепить. Главное, что это должен быть ещё один запущенный
> > sshd.
> То есть копируем /etc/init.d/sshd и указываем через -f другой
> конфигурационный файл? Как я не догадался сразу... :)
Практика показывает, что надо менять весь набор:
копировать /etc/init.d/sshd, /etc/sysconfig/sshd;
(факультативно делать ссылки или копировать сам sshd, /etc/pam.d/sshd);
изменять посредством /etc/sysconfig/sshd переменные
PIDFILE, LOCKFILE, EXTRAOPTIONS.
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2005-09-25 22:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-23 15:58 Vitaly Lipatov
2005-09-24 19:48 ` Dmitry V. Levin
2005-09-24 20:50 ` Vitaly Lipatov
2005-09-25 22:52 ` Dmitry V. Levin [this message]
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=20050925225240.GB13183@basalt.office.altlinux.org \
--to=ldv@altlinux.org \
--cc=community@altlinux.org \
--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