I am able to ssh into all app servers. still my task was marked as failed as - We tried ‘ssh tony@stapp01’ from user ‘thor’ on jump host but it didn’t work.
Please review and let me know if this task is success or not.
Login to all the app servers and create authorized_keys file in specific users .ssh home directory as shown below -
touch ~/.ssh/authorized_keys
Change the permission of file to 600
Now on jump_host generate the keys using command - ssh-keygen -t rsa
Note - Just press enter for every question asked.
Finally scp the ~/.ssh/id_rsa.pub from jump_host to all the app servers as shown below using respective passwords.
Example - scp ~/.ssh/id_rsa.pub tony@stapp01:/home/tony/.ssh/authorized_keys
With above steps , you will be able to set the passwordless ssh from jump_host server for user thor to all the stapp server respective users.
Also this thread will be useful with more clarification: