The pairs consisting of public and private keys can be generated with the help of OpenSource software OpenSSH, for example. The following command from a Linux operating system creates a key pair from the public part 'id_rsa.pub' and the private part 'id_rsa':
ssh-keygen -t rsa