Generating an SSH KEY

On Ansible controller node generate an SSH key with filename ansible under default location ( ~/.ssh ).

I am unable to do this task when practicing on labs. Can anyone help me how to do?

Hello, @vbollu
Can you please specify the lab name?

  1. navigate to .ssh folder using cd ~/.ssh command
  2. Now run ssh-keygen -f ansible command to generate public and private keys as per the question
  3. Run check and thank me now !! :stuck_out_tongue:
1 Like

Thank you :slight_smile: