ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "\"Vasyĺ V. Vercynśkyj\"" <fuckel@ukr.net>
To: ALT Linux sysadmins' discussion <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] ssh: Permisson denied(publickey)
Date: Wed, 22 Feb 2012 14:38:55 +0200
Message-ID: <4F44E1DF.5080906@ukr.net> (raw)
In-Reply-To: <4F44DB55.3000105@rambler.ru>

22.02.2012 14:11, Vasij пишет:
> 22.02.2012 15:20, Денис Смирнов пишет:
>> On Wed, Feb 22, 2012 at 08:54:11AM +0400, Vasij wrote:
>>
>> V>    - Пробуем с "6" подключитсья к "4" видем вот что:
>> V>    - ssh: Permisson denied(publickey)
>>
>> А в логах на сервере что?
>>
>>
>>
>> _______________________________________________
>> Sysadmins mailing list
>> Sysadmins@lists.altlinux.org
>> https://lists.altlinux.org/mailman/listinfo/sysadmins
> Сделали на клиенте в дебаг режиме - вот что видим:
> ...
> debug1: Authentications that can continue: publickey,password
> debug3: start over, passed a different list publickey,password
> debug3: preferred publickey,keyboard-interactive,password
> debug3: authmethod_lookup publickey
> debug3: remaining preferred: keyboard-interactive,password
> debug3: authmethod_is_enabled publickey
> debug1: Next authentication method: publickey
> debug1: Offering RSA public key: /home/kbru/.ssh/id_rsa
                                                    ^^^^^^
Ничего странного не замечаете? Вы какой ключ создавали и копировали на 
сервер? id_rsa2? А отправляется id_rsa! Я для этого и подсказывал 
попробовать подключиться с параметром "-i", который явно указывает ключ. 
Правда ошибся, добавив ".pub". Пробуйте
$ ssh host -i ~/.ssh/id_rsa2 (или где там у Вас лежит ключ)
[…]

-- 
WBR........[x]
TFTHAOT....[ ]
AMF........[ ]


  parent reply	other threads:[~2012-02-22 12:38 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
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" [this message]
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=4F44E1DF.5080906@ukr.net \
    --to=fuckel@ukr.net \
    --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