linux create public key

C++
ssh-keygen -t rsa -C "[email protected]"cd ~/.ssh
Source

Also in C++: