Secure ssh key generation

This commit is contained in:
lhark 2021-01-04 23:12:25 +01:00
parent 3f8023c9ff
commit a9097fccbe

9
how_to
View file

@ -723,11 +723,18 @@ Euro truck simulator 2:
winetricks dotnet45 winetricks dotnet45
Confirmed to work on a 32 bits prefix, untested on 64 Confirmed to work on a 32 bits prefix, untested on 64
SSH, get machine fingerprints: ssh:
get machine fingerprints:
Local Local
find /etc/ssh/ -name "ssh_host_*.pub" -exec ssh-keygen -lf '{}' \; find /etc/ssh/ -name "ssh_host_*.pub" -exec ssh-keygen -lf '{}' \;
Remote Remote
ssh-keyscan <hostname> 2>/dev/null | ssh-keygen -lf /dev/stdin ssh-keyscan <hostname> 2>/dev/null | ssh-keygen -lf /dev/stdin
Generate secure keypairs
# https://security.stackexchange.com/a/144044
Elliptic curve: best but maybe not supported everywhere
ssh-keygen -t ed25519 -a 100
Good ol' RSA, with 4096 bits for good measure
ssh-keygen -t rsa -b 4096 -o -a 100
Run MSVC on linux with Wine: Run MSVC on linux with Wine:
As seen on the internet, not tested: As seen on the internet, not tested: