Some days ago I’ve written a documentation to instruct how to use SSH with Bluehost. In that article, I told about 2 methods to login into SSH Server and promised that I would write a next article to compare the security between using password and using public key in aspect of security. However I found a good book about SSH. It discussed very clearly about this problem and SSH Protocol. So I decide just to extract some main idea from that book below.
Yesterday when I read a post of HVA asking about which is better when using password or public key to authorize to SSH Server. When I read this post, I remembered that I already activated SSH on my Bluehost account, but I never used it. So I decided to try to open a SSH connection in Bluehost and saw what happened when I used password/public key to authorize myself. When I understand the communicate process, I can find out my own answer for the question above.