Question: what are ssh key pairs?
Answer: In every SSH / SFTP connection there are four keys (or two key-pairs) involved. ... In SSH, the public key cryptography is used in both directions (client to server and server to client), so two key pairs are used. One key pair is known as a host (server) key, the other as a user (client) key.