Ssh-copy-i is not working. It gives an error.

On Aug 10, 2018 8:39 PM, "Jonathan Lozada De La Matta" <jloza...@redhat.com>
wrote:

did you put the public keys on the host your trying to connect as? try
ssh-copy-id since it copies the public keys and adds the correct
permissions. Did you also use ssh-add? what errors are you getting?

On Fri, Aug 10, 2018 at 11:06 AM Kiran Sonawane <
kiransonawane.nm...@gmail.com> wrote:

> Since I enabled all shh I can ping on any instances but using public
> private key I can't.
>
> On Fri, Aug 10, 2018, 7:54 PM Jonathan Lozada De La Matta <
> jloza...@redhat.com> wrote:
>
>> are you able to ssh in regularly without ansible and what errors are you
>> getting?
>>
>> On Fri, Aug 10, 2018 at 9:58 AM Kiran Sonawane <
>> kiransonawane.nm...@gmail.com> wrote:
>>
>>> Hey,
>>> I'm trying to SSH between two instances to practice Ansible on aws
>>> instances but I'm not able to create an ssh connection between instances.
>>> Can someone please  help me.
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Ansible Project" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to ansible-project+unsubscr...@googlegroups.com.
>>> To post to this group, send email to ansible-project@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/ansible-project/0bc165b2-803c-48b7-85e0-e5ebb9db6faf%40googlegroups.com
>>> <https://groups.google.com/d/msgid/ansible-project/0bc165b2-803c-48b7-85e0-e5ebb9db6faf%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>>
>> Jonathan lozada de la matta
>>
>> AUTOMATION CONSULTANT - AUTOMATION PRACTICE
>>
>> Red Hat Consulting Services <https://www.redhat.com/>
>>
>> jloza...@redhat.com
>>
>>
>>
>>
>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Ansible Project" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to ansible-project+unsubscr...@googlegroups.com.
>> To post to this group, send email to ansible-project@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/ansible-project/CAFYJA%2BK%2Bd8XgD%2Bq6p9B%2B26EnRue-ePpPsb3D4Yjkb%3DPHf1j%3DiA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/ansible-project/CAFYJA%2BK%2Bd8XgD%2Bq6p9B%2B26EnRue-ePpPsb3D4Yjkb%3DPHf1j%3DiA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-project+unsubscr...@googlegroups.com.
> To post to this group, send email to ansible-project@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CABZrV%3DZ3Y7By0f%3DA-vKWK9TKPsh3uq-tBAgD%3D9B0gxPVNng4_Q%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CABZrV%3DZ3Y7By0f%3DA-vKWK9TKPsh3uq-tBAgD%3D9B0gxPVNng4_Q%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>
-- 

Jonathan lozada de la matta

AUTOMATION CONSULTANT - AUTOMATION PRACTICE

Red Hat Consulting Services <https://www.redhat.com/>

jloza...@redhat.com




-- 
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/CAFYJA%2BKow%3DPhqspLfVqq_SYdAXxCjP7TRyR4xmLpe4GTYbZ6bg%40mail.gmail.com
<https://groups.google.com/d/msgid/ansible-project/CAFYJA%2BKow%3DPhqspLfVqq_SYdAXxCjP7TRyR4xmLpe4GTYbZ6bg%40mail.gmail.com?utm_medium=email&utm_source=footer>
.

For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CABZrV%3DatuRXm%2Bnr4edZtVmriR_wTxqDoZufUQeF_ZJb_zTpAkw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to