Skip to content
SumGuy's Ramblings
Go back

SSH key generation 101

I always forget the -b option which allows changing the size of the key…. so Im putting this down here for future reference.

ssh-keygen -t rsa -b 2048

You can use dsa instead of the rsa after the -t to generate a DSA key. The number after the -b specifies the key bits. DSA is limited to 1024, whereas RSA isn’t. standard is 1024 if you don’t include the -b argument.


Share this post on:

Previous Post
Mount box.com as a local folder on ubuntu as webdav
Next Post
recursively delete all empty subdirectories