almalinux

How to test RSA Keys in AlmaLinux 9 ?

To test if your RSA keys (public and private) can authenticate an SSH session on your AlmaLinux 9 server, you can follow these steps: Step 1: Ensure the Public Key is on the Server Place your public key in the ~/.ssh/authorized_keys file for the user you want to SSH into. Make sure it’s set up like this: cat your_public_key_file.pub >> ~/.ssh/authorized_keys Ensure the permissions are correct: chmod 600 ~/.ssh/authorized_keys chmod 700 ~/.ssh Step 2: Test SSH Login Using the Private Key […]

How to test RSA Keys in AlmaLinux 9 ? Read More »

ED25519, ECDSA, RSA encryption to choose for AlmaLinux 9

For generating new SSH keys, each algorithm has its pros and cons, so here’s a quick overview of the best choices for most purposes: ED25519 • Pros: ED25519 is fast and highly secure with a shorter key length, making it efficient in performance and storage. • Cons: Not compatible with very old systems that may not support it. • Recommendation: Recommended for most users if both the server and client support it. • Generate: ssh-keygen -t ed25519 -C “[email protected]” ECDSA • Pro[…]

ED25519, ECDSA, RSA encryption to choose for AlmaLinux 9 Read More »