Qualcomm Interview Question

How does SSH authentication work?