Using ssh-keygen for generating ssh keys

I wanted to create a ssh key for the web server ssh login. I searched and found this article . I have used ssh-keygen in the past by reading a tutorial, but this time I wanted to learn about it properly After reading the article, I learned I could select the cryptographic algorithm for generating the key. ssh-keygen -t algotype -b keysize -f /path/filename I tried generating the keys with different algorithms and different key sizes.