<html>
<head>
<meta content="text/html; charset=KOI8-R" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
22.02.2012 15:20, Денис Смирнов пишет:
<blockquote cite="mid:20120222112047.GA31095@t60p.mithraen.ru"
type="cite">
<pre wrap="">On Wed, Feb 22, 2012 at 08:54:11AM +0400, Vasij wrote:
V> - Пробуем с "6" подключитсья к "4" видем вот что:
V> - ssh: Permisson denied(publickey)
А в логах на сервере что?
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Sysadmins mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Sysadmins@lists.altlinux.org">Sysadmins@lists.altlinux.org</a>
<a class="moz-txt-link-freetext" href="https://lists.altlinux.org/mailman/listinfo/sysadmins">https://lists.altlinux.org/mailman/listinfo/sysadmins</a></pre>
</blockquote>
<blockquote cite="mid:20120222112047.GA31095@t60p.mithraen.ru"
type="cite">
</blockquote>
Сделали на клиенте в дебаг режиме - вот что видим:<br>
...<br>
debug1: Authentications that can continue: publickey,password<br>
debug3: start over, passed a different list publickey,password<br>
debug3: preferred publickey,keyboard-interactive,password<br>
debug3: authmethod_lookup publickey<br>
debug3: remaining preferred: keyboard-interactive,password<br>
debug3: authmethod_is_enabled publickey<br>
debug1: Next authentication method: publickey<br>
debug1: Offering RSA public key: /home/kbru/.ssh/id_rsa<br>
debug3: send_pubkey_test<br>
debug2: we sent a publickey packet, wait for reply<br>
debug1: Authentications that can continue: publickey,password<br>
debug1: Trying private key: /home/kbru/.ssh/id_dsa<br>
debug3: no such identity: /home/kbru/.ssh/id_dsa<br>
debug1: Trying private key: /home/kbru/.ssh/id_ecdsa<br>
debug3: no such identity: /home/kbru/.ssh/id_ecdsa<br>
debug2: we did not send a packet, disable method<br>
debug3: authmethod_lookup password<br>
...<br>
<br>
А должно быть вот так:<br>
...<br>
debug1: Authentications that can continue: publickey,password<br>
debug3: start over, passed a different list publickey,password<br>
debug3: preferred publickey,keyboard-interactive,password<br>
debug3: authmethod_lookup publickey<br>
debug3: remaining preferred: keyboard-interactive,password<br>
debug3: authmethod_is_enabled publickey<br>
debug1: Next authentication method: publickey<br>
debug1: Offering public key: /home/kbru/.ssh/id_rsa<br>
debug3: send_pubkey_test<br>
debug2: we sent a publickey packet, wait for reply<br>
debug1: Server accepts key: pkalg ssh-rsa blen 277<br>
...<br>
<br>
</body>
</html>