--- On Thu, 12/25/08, Yedidyah Bar-David <linux...@didi.bardavid.org> wrote:

> From: Yedidyah Bar-David <linux...@didi.bardavid.org>
> Subject: Re: Public key authentication from QEMU
> To: "Valery Reznic" <valery_rez...@yahoo.com>
> Cc: linux-il@cs.huji.ac.il
> Date: Thursday, December 25, 2008, 6:20 PM
> On Thu, Dec 25, 2008 at 07:35:34AM -0800, Valery Reznic
> wrote:
> > > Why not run ssh-keygen on each machine
> separately?
> > I tried that and it doesn't work too.
>
> You mean you created a keypair on the host, and ssh to
> itself does not
Yes, exactly.

> work? I'd start with debugging this, before playing
> with qemu. Care to
> submit a log of ssh -v to the host from itself, with keys
> generated by
> it?
Here you are:
==================================================================
OpenSSH_4.7p1, OpenSSL 0.9.8b 04 May 2006
debug1: Reading configuration data /home/valery/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to 192.168.1.92 [192.168.1.92] port 22.
debug1: Connection established.
debug1: identity file /home/valery/.ssh/identity type -1
debug1: identity file /home/valery/.ssh/id_rsa type 1
debug1: identity file /home/valery/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version OpenSSH_4.7
debug1: match: OpenSSH_4.7 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.7
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host '192.168.1.92' is known and matches the RSA host key.
debug1: Found key in /home/valery/.ssh/known_hosts:182
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,gssapi-with-mic,password
debug1: Next authentication method: gssapi-with-mic
debug1: Unspecified GSS failure.  Minor code may provide more information
Unknown code krb5 195

debug1: Unspecified GSS failure.  Minor code may provide more information
Unknown code krb5 195

debug1: Unspecified GSS failure.  Minor code may provide more information


debug1: Next authentication method: publickey
debug1: Trying private key: /home/valery/.ssh/identity
debug1: Offering public key: /home/valery/.ssh/id_rsa
debug1: Authentications that can continue: publickey,gssapi-with-mic,password
debug1: Trying private key: /home/valery/.ssh/id_dsa
debug1: Next authentication method: password
val...@192.168.1.92's password:
=================================================================

Valery.
> --
> Didi



      

=================================================================
To unsubscribe, send mail to linux-il-requ...@cs.huji.ac.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-requ...@cs.huji.ac.il

Reply via email to