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
thor@jump_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
thor@stapp01’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.

thor@jump_host / ssh stapp01 [thor@stapp01 ~] sudo su
[root@stapp01 thor]# exit
[thor@stapp01 ~] logout Connection to stapp01 closed. thor@jump_host / ssh stapp02
[thor@stapp02 ~] sudo su [root@stapp02 thor]# exit [thor@stapp02 ~] logout
Connection to stapp02 closed.
thor@jump_host / ssh stapp03 Last login: Mon Mar 9 21:05:02 2020 from localhost [thor@stapp03 ~] sudo su
[root@stapp03 thor]# exit
[thor@stapp03 ~]$ 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