Task confifure passwordless

Hi Guys,

I configure the passwordless for the thor user and test worked, but the task is marked as failed.

Hi @bladimirh

As per question you are asked to setup passwordless SSH access for thor user (on jump host) to all app servers through their respective sudo users (for example tony for stapp01). But as per screenshot seems like you created thor user on stapp01 and setup the passwordless access which is incorrect as per requirements asked. So your answer was marked as failed.

1 Like

Thank you Inderpreet

this is also happened to me

I made the same mistake :frowning:


I had the same issue
[email protected]_host /$ ssh-copy-id stapp01
/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: “/home/thor/.ssh/id_rsa.pub”
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed – if you are prompted now it is to install the new keys
[email protected]’s password:

Number of key(s) added: 1

Now try logging into the machine, with: “ssh ‘stapp01’”
and check to make sure that only the key(s) you wanted were added.

[email protected]_host / ssh stapp01 [[email protected] ~] sudo su
[[email protected] thor]# exit
[[email protected] ~] logout Connection to stapp01 closed. [email protected]_host / ssh stapp02
[[email protected] ~] sudo su [[email protected] thor]# exit [[email protected] ~] logout
Connection to stapp02 closed.
[email protected]_host / ssh stapp03 Last login: Mon Mar 9 21:05:02 2020 from localhost [[email protected] ~] sudo su
[[email protected] thor]# exit
[[email protected] ~]$ logout
Connection to stapp03 closed.

I didn’t create “thor” user on app servers, it exist already, so I generate the key, then copied it with ssh-copy-id, even though the task was failed.

The requirement is confusing, as you can see, most of the people had the same mistake, because we understand it that way.

I hope to rollback the task, and be more clear in the next tasks :slight_smile:

Kindest regards

when I enter the password it said fail
what is the password please