From: Vasij <linux_helper@rambler.ru>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] ssh: Permisson denied(publickey)
Date: Wed, 22 Feb 2012 11:17:11 +0400
Message-ID: <4F449677.2040208@rambler.ru> (raw)
In-Reply-To: <4F4495B8.8020506@ukr.net>
22.02.2012 11:14, "Vasyĺ V. Vercynśkyj" пишет:
> 22.02.2012 06:54, Vasij пишет:
>> Что есть: 2 сервера Alt 4(Далее - "4") и Alt 6(Далее - "6").
>> Чего хочется: C "6" заходить на "4" по ssh без пароля.
>> Что сделали:
>> - ssh-keygen
>> - сделали 2 ключа id_rsa2 id_rsa2.pub
>> - cat id_rsa2.pub >> ~/.ssh/authorized_keys
>> - положили authorized_keys на "4"
>> - Пробуем с "6" подключитсья к "4" видем вот что:
>> - ssh: Permisson denied(publickey)
> а авторизация по ключу на 4-ке разрешена — в /etc/openssh/sshd_config
> параметр «PubkeyAuthentication yes»?
>
>
Добавил 2 строчки:
RSAAuthentication yes
PubkeyAuthentication yes
все по старому.
next prev parent reply other threads:[~2012-02-22 7:17 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-22 4:54 Vasij
2012-02-22 6:14 ` Stanislav Vlasov
2012-02-22 6:57 ` Vasij
2012-02-22 7:56 ` REAL
2012-02-22 11:33 ` Mykola S. Grechukh
2012-02-22 7:14 ` "Vasyĺ V. Vercynśkyj"
2012-02-22 7:17 ` Vasij [this message]
2012-02-22 7:59 ` "Vasyĺ V. Vercynśkyj"
2012-02-22 8:08 ` Vasij
2012-02-22 9:17 ` "Vasyĺ V. Vercynśkyj"
2012-02-22 9:28 ` Vasij
2012-02-22 10:23 ` "Vasyĺ V. Vercynśkyj"
2012-02-22 11:28 ` Mykola S. Grechukh
2012-02-22 12:13 ` "Vasyĺ V. Vercynśkyj"
2012-02-22 11:20 ` Денис Смирнов
2012-02-22 12:38 ` "Vasyĺ V. Vercynśkyj"
2012-02-22 12:43 ` Vasij
2012-02-22 12:55 ` "Vasyĺ V. Vercynśkyj"
2012-02-23 12:02 ` REAL
2012-02-23 14:05 ` "Vasyĺ V. Vercynśkyj"
2012-02-23 14:20 ` Mykola S. Grechukh
2012-02-24 7:31 ` Vasij
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=4F449677.2040208@rambler.ru \
--to=linux_helper@rambler.ru \
--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