Hello
Well if you need to connect using rsa key or dsa is easy to genearte them .
Just run this in directory where you want the output.
ssh-keygen -t rsa -b 4096 -f id_rsa
DSA is faster for signature generation but slower for validation, slower when encrypting but faster when decrypting and security can be considered equivalent compared to an RSA key of equal key length.
You can add also
-C "your_email@example.com"