From: Michael Shigorin <mike@osdn.org.ua>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] SSH доступ root по ключу (без пароля)
Date: Tue, 7 Apr 2009 09:26:10 +0300
Message-ID: <20090407062610.GK24510@osdn.org.ua> (raw)
In-Reply-To: <6c7be88d0904062322s1c91a9eao4b9f42a29eff60fc@mail.gmail.com>
On Tue, Apr 07, 2009 at 09:22:46AM +0300, Dmitriy Kruglikov wrote:
> Восстановил PermitRootLogin without-password
> На клиенте прописал /root/.ssh/config как положено...
> С клиента обычным пользователем без пароля (по ключу) работает
> отлично, а root все равно требует пароль.
> (Типа я умею настраивать для обычного пользователя...)
> Что я пропустил ?
Неужели права на каталог/файл? Глянь в /var/log/messages на
сервере при попытке подключения ключом, а ещё ssh -vv с клиента
полистай. Мне всегда оказывалось достаточно.
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
next prev parent reply other threads:[~2009-04-07 6:26 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-07 6:22 Dmitriy Kruglikov
2009-04-07 6:26 ` Michael Shigorin [this message]
2009-04-07 6:29 ` Dmitriy Kruglikov
2009-04-07 6:40 ` Mikhail A. Pokidko
2009-04-07 6:53 ` Dmitriy Kruglikov
2009-04-07 10:10 ` Dmitry V. Levin
2009-04-07 10:21 ` Dmitriy Kruglikov
2009-04-07 10:28 ` Dmitry V. Levin
2009-04-07 10:32 ` Dmitriy Kruglikov
2009-04-07 10:35 ` Dmitry V. Levin
2009-04-07 10:38 ` Dmitriy Kruglikov
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=20090407062610.GK24510@osdn.org.ua \
--to=mike@osdn.org.ua \
--cc=shigorin@gmail.com \
--cc=sysadmins@lists.altlinux.org \
/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 sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git