generate id_rsa code example Example 1: linux create public key ssh-keygen -t rsa -C "[email protected]" Example 2: ssh keygen ssh-keygen -t rsa -b 8192