[one-users] NIS ssh please help
Tino Vazquez
tinova at fdi.ucm.es
Mon Jan 11 02:34:11 PST 2010
Hi Digvijay,
OpenNebula uses ssh to monitor physical hosts and VMs and to control
VMs in remote nodes.
You will need to be able to login passwordless ly via ssh from the
OpenNebula front-end _with_ the user running the 'oned' process,
typically <oneadmin>.
Regards,
-Tino
--
Constantino Vázquez, Grid Technology Engineer/Researcher:
http://www.dsa-research.org/tinova
DSA Research Group: http://dsa-research.org
Globus GridWay Metascheduler: http://www.GridWay.org
OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org
On Wed, Nov 11, 2009 at 10:10 PM, digvijay singh shaktawat
<digvijaysinghshaktawat at gmail.com> wrote:
> actually i want to login from other client nodes .....
> 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 ...
>
> by the way i am not very sure why opnnebulla needs ssh. I am just following
> instructions ....
> 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
> this is what i am trying to do ......
>
> if i am wrong please elaborate ...
>
> -digvijay
>
> one more thing ...
> ybind service for NIS server is also not working properly ... i am also
> trying to solve that problem
> if you could help it will be great ...
> any command output you need please tell
>
> [root at localhost ~]# system-config-authentication
> Stopping portmap: [ OK ]
> Starting portmap: [ OK ]
>
> Binding to the NIS domain: [ OK ]
> Listening for an NIS domain server.YPBINDPROC_DOMAIN: Domain not bound
> YPBINDPROC_DOMAIN: Domain not bound
> .YPBINDPROC_DOMAIN: Domain not bound
>
> YPBINDPROC_DOMAIN: Domain not bound
>
> please and thank you
> -digvijay
>
>
>
>
>
>
>
>
>
> On Thu, Nov 12, 2009 at 12:28 AM, Shi Jin <jinzishuai at gmail.com> wrote:
>>
>> Why are you trying to ssh to the localhost between oneadmin and root?
>> If this is what you want, try to do "ssh localhost -l oneadmin" as
>> root or "ssh localhost -l root" as oneadmin.
>> But there is no need to do this at all.
>>
>> Shi
>>
>> On Wed, Nov 11, 2009 at 10:11 AM, digvijay singh shaktawat
>> <digvijaysinghshaktawat at gmail.com> wrote:
>> > hey,
>> > thanks for reply and sorry for delay ....
>> > i think below should clear out ur doubt .... the root is has the access
>> > to
>> > all files ...
>> > if you find any thing please help ....
>> > for opennebula to work ssh has to work..
>> > please look carefully and find any problem ....
>> >
>> > [root at localhost ~]# su oneadmin
>> > [oneadmin at localhost root]$ cd ~
>> > [oneadmin at localhost ~]$ ssh-keygen
>> > Generating public/private rsa key pair.
>> > Enter file in which to save the key (/home/oneadmin/.ssh/id_rsa): y
>> >
>> > Enter passphrase (empty for no passphrase):
>> > Enter same passphrase again:
>> > Your identification has been saved in y.
>> > Your public key has been saved in y.pub.
>> > The key fingerprint is:
>> > 8e:79:af:cb:b3:e8:ed:a5:1e:49:95:db:d1:66:72:32
>> > oneadmin at localhost.localdomain
>> >
>> > [oneadmin at localhost ~]$ exit
>> > exit
>> > [root at localhost ~]# cp /home/oneadmin/.ssh/id_rsa
>> > id_rsa id_rsa.pub
>> > [root at localhost ~]# cp /home/oneadmin/.ssh/id_rsa.pub
>> > /root/.ssh/id_rsa.pub
>> > cp: overwrite `/root/.ssh/id_rsa.pub'? y
>> >
>> > [root at localhost ~]# cat /root/.ssh/id_rsa.pub >>
>> > /root/.ssh/authorized_keys
>> > [root at localhost ~]# cd .ssh/
>> > [root at localhost .ssh]# rm authorized_keys
>> > rm: remove regular file `authorized_keys'? y
>> > [root at localhost .ssh]# cp id_rsa.pub authorized_keys
>> >
>> > [root at localhost .ssh]# ssh localhost
>> > The authenticity of host 'localhost (::1)' can't be established.
>> > RSA key fingerprint is 5d:40:28:ff:97:12:98:06:92:58:41:d5:20:3e:09:7c.
>> > Are you sure you want to continue connecting (yes/no)? no
>> >
>> > Host key verification failed.
>> >
>> > -digvijay
>> >
>> > On Wed, Nov 11, 2009 at 11:49 AM, Shi Jin <jinzishuai at gmail.com> wrote:
>> >>
>> >> A quick thought: did you copy the id_rsa.pub into authorized_keys?
>> >> Also, check the file permissions.
>> >>
>> >> Shi
>> >>
>> >> On Tue, Nov 10, 2009 at 11:15 PM, digvijay singh shaktawat
>> >> <digvijaysinghshaktawat at gmail.com> wrote:
>> >> > hi,
>> >> > i have been trying to usr RSA keys to login ssh host for hours .....
>> >> > i have installed nis server
>> >> >
>> >> > oneadmin> ssh-keygen
>> >> > .....
>> >> > [oneadmin at localhost .ssh]$ ls
>> >> > authorized_keys id_rsa id_rsa.pub
>> >> >
>> >> > and copies id_rsa.pub file on the host .ssh folder ....
>> >> >
>> >> > i have tried a lot of combinations for it work but every time i get
>> >> > the
>> >> > same
>> >> > answer
>> >> > i generated key in oneadmin and then tried to login from root (just
>> >> > to
>> >> > test)
>> >> > i have tried from various others linux machines also ... but every
>> >> > time
>> >> > the
>> >> > same answer .....
>> >> >
>> >> > [root at azure ~]# ssh 127.0.0.1
>> >> > The authenticity of host '127.0.0.1 (127.0.0.1)' can't be
>> >> > established.
>> >> > RSA key fingerprint is
>> >> > 5d:40:28:ff:97:12:98:06:92:58:41:d5:20:3e:09:7c.
>> >> > Are you sure you want to continue connecting (yes/no)? no
>> >> > Host key verification failed.
>> >> >
>> >> > if i do [yes] still every time to login it will ask passwd but
>> >> > opennbula
>> >> > needs to login with pass from SRA keys ..
>> >> >
>> >> > Please help.... Urgently
>> >> >
>> >> > -Digvijay
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > _______________________________________________
>> >> > Users mailing list
>> >> > Users at lists.opennebula.org
>> >> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>> >> >
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> Shi Jin, Ph.D.
>> >
>> >
>>
>>
>>
>> --
>> Shi Jin, Ph.D.
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
More information about the Users
mailing list