ssh-keygen -t rsa -b 4096 -C 'email@example.com'

Category: SSH & Remote

ssh-keygen -t rsa -b 4096 -C 'email@example.com'

Generate a 4096-bit RSA SSH key pair

Generates a new SSH key pair for authentication. RSA 4096-bit is secure. The comment (-C) is usually your email.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.