Bigger SSH keys

No secrets here, just quick notes on how to generate bigger (safer ?) SSH keys.

Server keys generation:

# /usr/bin/ssh-keygen -t rsa1 -f ssh_host_key -N '' -C "tumfatig.local" -b 4096
# /usr/bin/ssh-keygen -t dsa -f ssh_host_dsa_key -N '' -C "tumfatig.local" -b 1024
# /usr/bin/ssh-keygen -t rsa -f ssh_host_rsa_key -N '' -C "tumfatig.local" -b 4096

Personal key generation:

# ssh-keygen -t rsa -C "ptijo@tumfatig.net" -b 4096

This should strengthen the key exchange phase in the cost of more intensive CPU usage during this phase.

Source:

  • How do I generate an RSA key?
  • How To Generate SSH Keys (…)

No Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

*

%d bloggers like this: