ssh keygen for server code example Example 1: ssh keygen ssh-keygen -t rsa -b 8192 Example 2: ssh keygen ssh-keygen -t rsa -C [email protected]