[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
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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |