I do not fully understand SSH. I was hoping someone could fix my confusion.
When you generate an ssh key pair, you create four files.
authorized_keys, id_rsa, id_rsa.pub and known_hosts
My confusion comes from that fact that RSA is an encryption tool, you release a public key pair (n,e) but in the
id_rsa.pub file, there is no pair, it's just one gigantic string, where does it split?
Furthermore, how does SSH create a server side password check, RSA is used for encrypting messages, how does them having my public key, combining with my private key create some sort of password confirmation, RSA is used for encrypting messages not password authentication?