This is a big question, with far too little information to resolve easily.
Here is a troubleshooting list for you (or anyone) having connectivity
issues generally and ssh issues specifically.
1: Check the addresses. Make sure you are using the correct name or IP
address for the target instance.
what error are you getting? do you have enough permissions on the other
side?
On Fri, Aug 10, 2018 at 11:25 AM Kiran Sonawane <
kiransonawane.nm...@gmail.com> wrote:
> Ssh-copy-i is not working. It gives an error.
>
> On Aug 10, 2018 8:39 PM, "Jonathan Lozada De La Matta" <
>
Ssh-copy-i is not working. It gives an error.
On Aug 10, 2018 8:39 PM, "Jonathan Lozada De La Matta"
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
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
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