Tips and advices to configure openssh    • Sharebar  openssh
logo  Key strength  The advice from the French Security agency
is to have keys with at least 2048 bits. So with ssh-keygen, you
have to use an RSA-type key as DSA keys are limited to 1024
bits.  Here is the way to generate a key with 2048 bits:  $ ssh-
keygen -t rsa -b 2048 Generating public/private rsa key pair.
Created directory '/home/user/.ssh'. Enter passphrase (empty for
no passphrase):  Enter same passphrase again:  The key
fingerprint is: 2d:f7:13:c2:8a:eb:6e:bb:98:0d:c3:f3:cd:a0:81:90
user@computer The key's randomart image is: +--[ RSA 2048]----+
|                 | |                 | |                 | | .
o       | |E       S = .    | | . o   . + o .   | |  . * o .   o
| |     @.=     .   | |    ++Ooo        |  Don’t forget to put a
passphrase on your key to raise the security level.  To allow
your newly created key to be used for password less
authentication you need to upload the public part of your key to
the remote server u