Hi, Can someone please help me understand what i did wrong in this task. The result said password less authentication not set in stapp01.
I think task is about thor user of jump_host has to access app server without password. So you did ssh-copy-id to copy ssh keys in respective sudoers user of app servers but you used sudo so it will turn it out into “root” user of jump_host. You don’t need to use “sudo” when you need to work with thor user.
You can check with some random tests.
“sudo whoami” --> root
“whoami” --> login-user-name
ah… got it. Thanks @player001. In that case the failure result should show user has no passwordless on all three app servers isn’t it?
Yeah user --> thor user.
Actually it will check step by step so got an failure result in app server 1 so result shown on basis of first.
hm… Okay. Thank you… Anyways will check if i get to work on the same task again:)
Follow this link : https://linuxize.com/post/how-to-setup-passwordless-ssh-login/
$ssh-keygen -t rsa -b 4096 -C “email@example.com”
1st time you provide passwords for tony/steve/banner
from 2nd time onwards it goes passwordless from thor