Blueshift interview question

How does the SSH protocol work?