actually i want to login from other client nodes .....<br>you adviced that RSA file might not have sufficient permissions that is why .. i was trying to show that root is also have this error .. so it has permissions ...<br>
<br>by the way i am not very sure why opnnebulla needs ssh. I am just following instructions ....<br>make a RSA public priv key form mikato(root) node by ssh-keygen and give ip_RSA.pub file to all nodes .... then try ssh to mikato and you will not need a password to login<br>
this is what i am trying to do ......<br><br>if i am wrong please elaborate ...<br><br>-digvijay <br><br>one more thing ... <br>ybind service for NIS server is also not working properly ... i am also trying to solve that problem<br>
if you could help it will be great ... <br>any command output you need please tell<br><br><pre>[root@localhost ~]# system-config-authentication<br>Stopping portmap:                                          [  OK  ]<br>Starting portmap:                                          [  OK  ]<br>
Binding to the NIS domain:                                 [  OK  ]<br>Listening for an NIS domain server.YPBINDPROC_DOMAIN: Domain not bound<br>YPBINDPROC_DOMAIN: Domain not bound<br>.YPBINDPROC_DOMAIN: Domain not bound<br>
YPBINDPROC_DOMAIN: Domain not bound<br></pre><br>please and thank you<br>-digvijay<br><br><br><br><br><br><br><br><br><br><div class="gmail_quote">On Thu, Nov 12, 2009 at 12:28 AM, Shi Jin <span dir="ltr"><<a href="mailto:jinzishuai@gmail.com">jinzishuai@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Why are you trying to ssh to the localhost between oneadmin and root?<br>
If this is what you want, try to do "ssh localhost -l oneadmin" as<br>
root or "ssh localhost -l root" as oneadmin.<br>
But there is no need to do this at all.<br>
<br>
Shi<br>
<br>
On Wed, Nov 11, 2009 at 10:11 AM, digvijay singh shaktawat<br>
<div><div></div><div class="h5"><<a href="mailto:digvijaysinghshaktawat@gmail.com">digvijaysinghshaktawat@gmail.com</a>> wrote:<br>
> hey,<br>
> thanks for reply and sorry for delay ....<br>
> i think below should clear out ur doubt .... the root is has the access to<br>
> all files ...<br>
> if you find any thing please help ....<br>
> for opennebula to work ssh has to work..<br>
> please look carefully and find any problem ....<br>
><br>
> [root@localhost ~]# su oneadmin<br>
> [oneadmin@localhost root]$ cd ~<br>
> [oneadmin@localhost ~]$ ssh-keygen<br>
> Generating public/private rsa key pair.<br>
> Enter file in which to save the key (/home/oneadmin/.ssh/id_rsa): y<br>
><br>
> Enter passphrase (empty for no passphrase):<br>
> Enter same passphrase again:<br>
> Your identification has been saved in y.<br>
> Your public key has been saved in y.pub.<br>
> The key fingerprint is:<br>
> 8e:79:af:cb:b3:e8:ed:a5:1e:49:95:db:d1:66:72:32<br>
> oneadmin@localhost.localdomain<br>
><br>
> [oneadmin@localhost ~]$ exit<br>
> exit<br>
> [root@localhost ~]# cp /home/oneadmin/.ssh/id_rsa<br>
> id_rsa      id_rsa.pub<br>
> [root@localhost ~]# cp /home/oneadmin/.ssh/id_rsa.pub /root/.ssh/id_rsa.pub<br>
> cp: overwrite `/root/.ssh/id_rsa.pub'? y<br>
><br>
> [root@localhost ~]# cat /root/.ssh/id_rsa.pub >> /root/.ssh/authorized_keys<br>
> [root@localhost ~]# cd .ssh/<br>
> [root@localhost .ssh]# rm authorized_keys<br>
> rm: remove regular file `authorized_keys'? y<br>
> [root@localhost .ssh]# cp id_rsa.pub authorized_keys<br>
><br>
> [root@localhost .ssh]# ssh localhost<br>
> The authenticity of host 'localhost (::1)' can't be established.<br>
> RSA key fingerprint is 5d:40:28:ff:97:12:98:06:92:58:41:d5:20:3e:09:7c.<br>
> Are you sure you want to continue connecting (yes/no)? no<br>
><br>
> Host key verification failed.<br>
><br>
> -digvijay<br>
><br>
> On Wed, Nov 11, 2009 at 11:49 AM, Shi Jin <<a href="mailto:jinzishuai@gmail.com">jinzishuai@gmail.com</a>> wrote:<br>
>><br>
>> A quick thought: did you copy the id_rsa.pub into authorized_keys?<br>
>> Also, check the file permissions.<br>
>><br>
>> Shi<br>
>><br>
>> On Tue, Nov 10, 2009 at 11:15 PM, digvijay singh shaktawat<br>
>> <<a href="mailto:digvijaysinghshaktawat@gmail.com">digvijaysinghshaktawat@gmail.com</a>> wrote:<br>
>> > hi,<br>
>> > i have been trying to usr RSA keys to login ssh host for hours .....<br>
>> > i have installed nis server<br>
>> ><br>
>> > oneadmin> ssh-keygen<br>
>> > .....<br>
>> > [oneadmin@localhost .ssh]$ ls<br>
>> > authorized_keys  id_rsa  id_rsa.pub<br>
>> ><br>
>> > and copies id_rsa.pub file on the host .ssh folder ....<br>
>> ><br>
>> > i have tried a lot of combinations for it work but every time i get the<br>
>> > same<br>
>> > answer<br>
>> > i generated key in oneadmin and then tried to login from root (just to<br>
>> > test)<br>
>> > i have tried from various others linux machines also ... but every time<br>
>> > the<br>
>> > same answer .....<br>
>> ><br>
>> > [root@azure ~]# ssh 127.0.0.1<br>
>> > The authenticity of host '127.0.0.1 (127.0.0.1)' can't be established.<br>
>> > RSA key fingerprint is 5d:40:28:ff:97:12:98:06:92:58:41:d5:20:3e:09:7c.<br>
>> > Are you sure you want to continue connecting (yes/no)? no<br>
>> > Host key verification failed.<br>
>> ><br>
>> > if i do [yes] still every time to login it will ask passwd but opennbula<br>
>> > needs to login with pass from SRA keys ..<br>
>> ><br>
>> > Please help.... Urgently<br>
>> ><br>
>> > -Digvijay<br>
>> ><br>
>> ><br>
>> ><br>
>> ><br>
>> ><br>
>> > _______________________________________________<br>
>> > Users mailing list<br>
>> > <a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
>> > <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
>> ><br>
>> ><br>
>><br>
>><br>
>><br>
>> --<br>
>> Shi Jin, Ph.D.<br>
><br>
><br>
<br>
<br>
<br>
</div></div><font color="#888888">--<br>
Shi Jin, Ph.D.<br>
</font></blockquote></div><br>