From: Serge Polkovnikov <serge@ukr-fin.com.ua>
To: community@altlinux.ru
Subject: Re: [Comm] ssh security
Date: Tue, 21 Sep 2004 14:36:36 +0300
Message-ID: <200409211436.36505.serge@ukr-fin.com.ua> (raw)
In-Reply-To: <200409211434.51817.serge@ukr-fin.com.ua>
[-- Attachment #1: Type: text/plain, Size: 508 bytes --]
вівторок, 21-вер-2004 14:34, Serge Polkovnikov Ви написали:
> вівторок, 21-вер-2004 14:19, Макс Ви написали:
> > Привет всем!
> >
> > Как запретить определённым пользователям доступ через ssh, как например,
> > сделано для root
> >
> > Спасибо
>
> Можно так:
>
> В /etc/openssh/sshd-config добавте строку вида:
> AllowUsers user1,user2,...
>
> где user* - пользователи, которым РАЗРЕШАЕТСЯ регистрироваться
Да, а для тех кого хотите ЗАПРЕТИТЬ:
DenyUsers user1,user2...
--
С уважением
Сергей Полковников
[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2004-09-21 11:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-21 11:20 ` Alexey I. Froloff
2004-09-21 11:24 ` Макс
2004-09-21 11:28 ` Alexey I. Froloff
2004-09-21 11:34 ` Serge Polkovnikov
2004-09-21 11:36 ` Serge Polkovnikov [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=200409211436.36505.serge@ukr-fin.com.ua \
--to=serge@ukr-fin.com.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