update README

This commit is contained in:
Frieder Schlesier 2022-10-01 19:45:55 +02:00
parent b5e643b585
commit 3c5e81f907
1 changed files with 3 additions and 1 deletions

View File

@ -40,6 +40,8 @@
# RSA keys are favored over ECDSA keys when backward compatibility ''is required'', # RSA keys are favored over ECDSA keys when backward compatibility ''is required'',
# thus, newly generated keys are always either ED25519 or RSA (NOT ECDSA or DSA). # thus, newly generated keys are always either ED25519 or RSA (NOT ECDSA or DSA).
$ ssh-keygen -t rsa -b 8192 -f ~/.ssh/id_rsa_host_$(date +%Y-%m-%d) -C "Key to HOST for user-xyz" $ ssh-keygen -t rsa -b 8192 -f ~/.ssh/id_rsa_host_$(date +%Y-%m-%d) -C "Key to HOST for user-xyz"
$ ssh-copy-id -i ~/.ssh/<file>.pub -p 22 user@host
#+END_SRC #+END_SRC
**** GnuPG **** GnuPG
@ -50,7 +52,7 @@
~~/.gnupg/gpg.conf~: ~~/.gnupg/gpg.conf~:
#+BEGIN_SRC bash #+BEGIN_SRC bash
personal-digest-preferences SHA512 SHA384 personal-digest-preferences SHA512 SHA384
cert-digest-algo SHA256 cert-digest-algo SHA256
default-preference-list SHA512 SHA384 AES256 ZLIB BZIP2 ZIP Uncompressed default-preference-list SHA512 SHA384 AES256 ZLIB BZIP2 ZIP Uncompressed