Dear Amrita,

Hope you are doing great.

The command should be like this :

User@Ubuntu : ssh-keygen -t rsa -P ""

Please fire the same command you will get the correct output.

After this command it will ask for the name of file where you have to save the file.

You have to just press enter and go ahead.

Please let us know if you have any other issue.