[one-users] Cannot copy public key from Front end to node end

Héctor Sanjuán hsanjuan at opennebula.org
Fri May 27 11:05:55 PDT 2011


Hi,

I am not very sure of what you are trying to do. You should copy the
oneadmin public key from the front-end to the remote hosts, so the
frontend can ssh passwordless to them.

It is normal that the oneadmin ssh login asks for password in remote
host if you haven't copied the key yet. You should know that password
or, at least, you should have to means to change it to what you want by
suing to root in the remote host and using 'passwd oneadmin' command.
Then you should be able to scp the public key without problem.

Hope it helps,

Hector

El 26/05/11 14:18, soge george escribió:
> Hi All,
>  
> Cannot copy public key generated in Front end to the cluster node . Its
> asking for oneadmin password. Please help me resolve this issue.  FYI
> have attached the output from the console
>  
> ssh-keygen
> Generating public/private rsa key pair.
> Enter file in which to save the key (/srv/cloud/one/.ssh/id_rsa):
> /srv/cloud/one/.ssh/id_rsa
> /srv/cloud/one/.ssh/id_rsa already exists.
> Overwrite (y/n)? y
> Enter passphrase (empty for no passphrase):
> Enter same passphrase again:
> Your identification has been saved in /srv/cloud/one/.ssh/id_rsa.
> Your public key has been saved in /srv/cloud/one/.ssh/id_rsa.pub.
> The key fingerprint is:
> 95:05:a4:80:e6:d9:e8:38:60:85:11:84:47:d9:28:a2
> oneadmin at opennebula.front <mailto:oneadmin at opennebula.front>
> bash-3.2$ sudo scp ~/.ssh/id_rsa.pub
> oneadmin at opennebula.front:~/.ssh/id_rsa.pub.localhost.localdomain
> <mailto:oneadmin at opennebula.front:~/.ssh/id_rsa.pub.localhost.localdomain>
> Warning: Permanently added 'opennebula.front' (RSA) to the list of known
> hosts.
> oneadmin at opennebula.front's <mailto:oneadmin at opennebula.front's>password:
> Permission denied, please try again.
>  
> Thanks,
> Soge
> 
> 
> 
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


-- 
Héctor Sanjuan
OpenNebula.org



More information about the Users mailing list