[one-users] Cofiguring hosts

Rodolfo Conte Brufatto rcbrufatto at gmail.com
Sun Sep 30 07:29:17 PDT 2012


Hi there,
What you can do is to export your public key into the correct format and
append it to your authorizes_keys file using ssh-keygen:

ssh-keygen - f id_rsa -y > .ssh/authorized_keys for an example. That should
work.

You can also set no for strict key checking to no (not a security best
practice, you will be susceptible to a MITM attack, of course it depends on
how secure is your environment that should not be a major concern... tho it
is not recommended) in your ssh config, or even use the ssh-copy-id.
Although don't know if that is what you're looking for.
Hope that helps.
As per the file permissions you can have it set to 600 and 400 for they
keypair file (id_rsa) and for the public key file (id_rsa.pub).

Best regards,

On Sun, Sep 30, 2012 at 11:10 AM, André Monteiro <andre.monteir at gmail.com>wrote:

> Hello,
>
> There are several websites on the web indicating how to to, but basically
> append (with cat for instance) the machine A "id_pub.rsa.pub" file to file
> "authorized_keys" on machine B, set .ssh folder permissions to 700 and
> authorized_keys to 600.
>
> --
> André Monteiro
>
>
>
>
> On Sat, Sep 29, 2012 at 7:11 PM, Prithvi Raj <
> prithvisupersonic22 at gmail.com> wrote:
>
>> One of the requirements for the host is
>>
>> The oneadmin account in any Host or the Frontend should be able to ssh
>> passwordlessly to any other Host or Frontend. This is achieved by
>> manually copying the ~/.ssh directory.
>>
>> How do i do this? what are the commands?
>>
>> help me?
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
Have you tried turning it off and on again?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120930/c62192af/attachment-0002.htm>


More information about the Users mailing list