From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DNS_FROM_RFC_DSN, SPF_PASS autolearn=no version=3.2.5 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=fsm; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:To:MIME-Version:From:Date:Message-ID; bh=Op+81BkfG8npbODLnKizOX8Q8FS8C2qCh3Ai07ProvM=; b=k+iekCAIToXtTEyQaGdULcMGSh1zTRBZ21NEE/WVop6+xAD1r2QjvkzMkvXgUInFBNQDsKbVmgNWryUf3yMrzTeFT0egAh6OfFIMI5K9JgnqLCvLpEseKurbkkRG7cGjkVTzD8zFSui6nHEvzuj5kq5OImVxoF22w/i/kqujt/c=; Message-ID: <4F4495B8.8020506@ukr.net> Date: Wed, 22 Feb 2012 09:14:00 +0200 From: =?UTF-8?B?IlZhc3lszIEgVi4gVmVyY3luc8yBa3lqIg==?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111228 Thunderbird/8.0 MIME-Version: 1.0 To: ALT Linux sysadmins' discussion References: <4F4474F3.3000607@rambler.ru> In-Reply-To: <4F4474F3.3000607@rambler.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Sysadmins] ssh: Permisson denied(publickey) X-BeenThere: sysadmins@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux sysadmins' discussion List-Id: ALT Linux sysadmins' discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2012 07:14:06 -0000 Archived-At: List-Archive: 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»? -- WBR........[x] TFTHAOT....[ ] AMF........[ ]