On 15/06/2022 17:58, Dick Visser wrote:
Your course should mention that SSH access is a requirement for the course :)
In any case as you pointed out it's not really an ansible specific problem but 
rather a generic system administration issue.
Read
https://docs.ansible.com/ansible/latest/user_guide/connection_details.html for 
some hints

Reg 'asap' - I wouldn't expect people to hurry because of poor planning and 
preparation on your side...

Yes, definitely agree with this.

@Orkhan you need to add the target user to your ssh command, e.g ssh 
<user>@<ip_address>.

Regards

             Racke


On Wed, 15 Jun 2022 at 17:37, Orkhan Mammadov <[email protected]> wrote:

    Hi guys,

    I have issue with connecting over ssh to other machine using non root account. First of 
all, I create new fresh non root user. When I try to ssh <ip-address>, it gives 
permission denied message. Then I created key pairs using ssh-keygen and tried ssh-copy-id 
<ip-address>, it gives the same message. I added id_rsa.pub key tp authorized_keys 
file, however, the same issue. Could you please help to setup it asap, I can't start 
ansible course due to this issue.

    Thanks in advance
-- 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 [email protected].
    To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/7feb759c-807d-441a-9b4f-0a4448dcd14en%40googlegroups.com
 
<https://groups.google.com/d/msgid/ansible-project/7feb759c-807d-441a-9b4f-0a4448dcd14en%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
Sent from Gmail Mobile
--
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAF8BbLa_39XDDyh1MC2u4ieBkzmHkrzo4yFUwFruh9MOOjbo6w%40mail.gmail.com
 
<https://groups.google.com/d/msgid/ansible-project/CAF8BbLa_39XDDyh1MC2u4ieBkzmHkrzo4yFUwFruh9MOOjbo6w%40mail.gmail.com?utm_medium=email&utm_source=footer>.


--
Automation expert - Ansible and friends
Linux administrator & Debian maintainer
Perl Dancer & conference hopper

--
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/04ed6cb5-8e32-05d1-8d61-8e4496573b58%40linuxia.de.

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to