From: "Лааз Вадим" <checked@mail.ru>
To: "Список рассылки по использованию дистрибутивов ALT Linux"
<community@altlinux.ru>
Subject: Re: [Comm] SSH
Date: Tue, 9 Aug 2005 15:51:57 +0400
Message-ID: <200508091551.57364.checked@mail.ru> (raw)
In-Reply-To: <42F884EA.5020401@altlinux.ru>
В сообщении от 9 Август 2005 14:26 Антон Горлов написал(a):
> Как бы сделать такую вещь:
>
> К серверу определнные пользователи должны иметь возможность коннектитья
> только по ключу, но не по паролю (и только определённые пользователи
> должны попадать под это правило)... Но с самого сервера должны иметь
> возможномть работать как с ключом,так и с паролем по ssh
# /etc/openssh/sshd_config
AllowUsers user1 # здесь перечисляем юзверей, кому можно
RSAAuthentication yes
PubkeyAuthentication yes
PasswordAuthentication no
далее генерим ключи ssh-keygen и кладем их в ~/.ssh/authorized_keys2 каждому
юзверю.
и все
--
инженер-электроник Лааз Вадим
Железноводский ГУС
т. (87932) 3-14-30
next prev parent reply other threads:[~2005-08-09 11:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-09 10:26 Антон Горлов
2005-08-09 10:49 ` Dmytro O. Redchuk
2005-08-09 10:53 ` Антон Горлов
2005-08-09 11:06 ` Dmytro O. Redchuk
2005-08-09 11:11 ` Антон Горлов
2005-08-09 11:51 ` Лааз Вадим [this message]
2005-08-09 11:55 ` Лааз Вадим
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=200508091551.57364.checked@mail.ru \
--to=checked@mail.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