[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] ssh from Dom0 to DomU by SSH authorization without password


  • To: Alexandre Kouznetsov <alk@xxxxxxxxxx>
  • From: Jerry <jianzhet@xxxxxxxxx>
  • Date: Tue, 8 May 2012 12:16:48 -0700 (PDT)
  • Cc: XenUsers <xen-users@xxxxxxxxxxxxx>
  • Delivery-date: Tue, 08 May 2012 19:18:06 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=3jezT3mfWHhw79AV2yMviHkK+l8UZQJgwGgDkhgXh014gSoD915kRvevnaK5N0fbsh+QiecfODCEnIvXuiP20f6lpkmPAsUcjpWe6uhe0YRvhatoY0K9AcCDasukX9+57SPQ76r3vfvQ8cxOHU/BU0iB0HX3euhIzEyjM25XPd4=;
  • List-id: Xen user discussion <xen-users.lists.xen.org>

Hi Alexandre,

Thanks a lot for your help.
I set all details as you noted.
I just found the reason.
Once I changed the file name of "id_rsa" in physical machine, the ssh authorization to VMs failed.
But ssh authorization works well between physical machines even the file name of id_rsa is changed.
Do you know the reason? Thanks in advance.

Best regards,
Jianzhe




From: Alexandre Kouznetsov <alk@xxxxxxxxxx>
To: xen-users@xxxxxxxxxxxxx
Sent: Tuesday, May 8, 2012 1:36 PM
Subject: Re: [Xen-users] ssh from Dom0 to DomU by SSH authorization without password

Hello.

El 08/05/12 10:19, Jerry escribió:
> But for generating SSH key pair in 129.10.xx.xx machines and then remote
> access VMs, it always prompt interactive request to enter VM's password.
> (when I want to ssh from Dom0 with 129.10.xx.xx to one of its VMs)

Did you copy the content of 129.10.xx.xx:~/.ssh/id_rsa.pub
into 192.168.122.xxx:~/.ssh/authorized_keys ?

Are the permissions of 129.10.xx.xx:~/.ssh/id_rsa set to 0600?

Try "ssh -v", it's feedback can give a clue why it insists on interactive authentication.

> I try to implement the overall monitor from a remote machine with static
> IP by SSH all the VMs in Xen servers.
Perfectly suitable use.

-- Alexandre Kouznetsov

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.